checkmail plugin for alot
A plugin that checks mail asynchronously, giving you feedback through the process via notifications.
This plugin was mostly written to accomodate running mbsync from inside alot without being intrusive. This can be useful if you do not wish to wait for your systemd timer to execute your mail sync.
Installation
Run the following in the environment that alot's hooks.py uses:
pip install --upgrade alot-plugin-checkmail
You may need to use sudo if your Python installation is owned by root.
Configuration
Insert the following stanza in your ~/.config/alot/config file:
[checkmail]
command = '/path/to/your/binary/or/script -abc --with --any --parameters'
Usage
The easiest way to include your plugin is to import it directly in the top of hooks.py like so:
from alot_checkmail import checkmail
You can then invoke the command in alot by running :checkmail.
Release files for alot-plugin-checkmail 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alot-plugin-checkmail-0.0.15.tar.gz | 3.6 kB | Details |
Release files / alot-plugin-checkmail-0.0.15.tar.gz
| Download URL | alot-plugin-checkmail-0.0.15.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f27f4caef01399730a4355a53279ff78b5ab33d7fb5ea34dad8103c30d75c63
|
|
BLAKE2b-256 checksum How to use checksums |
1606026e521119915019f5fbc6caca14536fbd8e17d375b96d4f5dc6a76f30d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|