On Thu, 25 Nov 2010 00:30:45 -0500, Ben Gamari <bgamari@gmail.com> wrote: > I, for one, simply have a get-mail script > which calls offlineimap, notmuch new, and finally my sorting > script. This seems like a more straightforward way to manage this; I have notmuch new and my sorting script run as posthooks in my offlineimap, so I simply invoke offlineimap to get my mail and run notmuch new (and do some tagging) Sebastian