#!/bin/sh . $HOME/.shenv # In this script (actually within movemymail), we move mail according to # tags that may have been added since the last 'notmuch new' run. # Then we sync with my IMAP server. Then in the post-new script we # add tags to new messages in particular folders offline || movemymail # ensure that notmuch is able to detect renames by archive-fmail-to-annex ionice -c 3 expand-annex-mboxes