Announce mutt2todotxt

January 7, 2014 - 1 minute read -
Free/Libre and Open Source Software mutt todotxt productivity

To improve my task management workflow with the todo.txt command line tool I wrote a small helper called mutt2todotxt. It converts a mail from mutt into a todo.txt item and adds it to the list of open items. It will automatically include the sender, subject, labels and the unique message id to the todo item.

The name of the sender is by default the user name part of the address. It the user name is either root, logcheck or cron the domain part will be chosen. Optionally the full real name of the sender can be used by specifying the -n option.

Labels stored in the custom X-Label header are converted to todo.txt tags (+). To use this script with mutt add this to your .muttrc:

macro index,pager \Ct "<pipe-message>~/path/to/mutt2todotxt<enter>";

If you press Ctrl+t a todo item will be created from the currently selected email.

You can find the source code on gitorious:

git clone git://

It was inspired by mutt2task written by Richard A. Johnson