#+title: Notmuch Collect Tasks A simple script that searches through the [[https://notmuchmail.org/][notmuch]] database and sees if any need to be turned into tasks to be put in my Getting Things Done inbox file, to be run as a hook for notmuch. * Requirements This script needs [[https://scsh.net/][scsh]] and notmuch. * Installation Put the =notmuch-collect-tasks= anywhere in your =$PATH=. * Usage Call the =notmuch-collect-tasks= script with the location of your inbox file as the only argument, for example: : notmuch-collect-tasks ~/documents/gtd/inbox.org It's recommended that this is done as part of the =post-new= hook of your notmuch configuration.