Skip to content

Checks mail asynchronously while giving the user feedback with notification banners in alot.

License

Notifications You must be signed in to change notification settings

tbjers/alot-plugin-checkmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Checks mail asynchronously while giving the user feedback with notification banners in alot.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages