Skip to content

Notmuch tools

afew

afew is an initial tagging script for notmuch mail

https://github.com/teythoon/afew https://readthedocs.org/projects/afew/

Config at ~/.config/afew/config

afew --move-mails --dry-run -a --verbose

alot

https://github.com/pazz/alot https://alot.readthedocs.io/en/latest/

Usage

Remove all mails in buffer/search:

:tag --all killed

Installation

http://alot.readthedocs.io/en/latest/installation.html

Installed from source /home/varac/projects/email/notmuch/alot, because pipsi cannot install notmuch propoerly:

Could not find a version that satisfies the requirement notmuch>=0.13 (from alot) (from versions:)


cd ~/projects/email/notmuch/alot
python3 setup.py install --user

config: ~/.config/alot/config

Dependencies

For building

sudo apt install libgpg-error-dev libgpgme-dev swig

Runtime deps

sudo apt install python-urwid python-urwidtrees python-gpg

upgrade to new tag

cd /home/varac/projects/notmuch/alot
git fetch
git co -b 0.6 0.6
python setup.py install --user

khard

Installed from source ~/projects/notmuc including own alot patch, so it's possible to query the local carddav dir:

[[[abook]]]
  type = shellcommand
  command = khard alot -s
  regexp = \"(?P<name>.+)\"\s*<(?P<email>.*.+?@.+?)>