MailMate Bundle for TaskPaper

If you receive a high volume of email — or consider yourself an email power user — and are unfamiliar with MailMate, then I highly suggest you take a look at it. MailMate won't win any beauty pageants, but what it lacks in sexy good looks, it makes up for in spades, with power, speed and versatility.

Command Bundles, one of it's many powerful and still undocumented features, allow you to send emails to a barrage of apps such as OmniFocus, Things, 2Do, Evernote, Fantastical and BusyCal to name just a few. I decided to add one more to that ever growing list... TaskPaper.

Setup & Usage

Installing is easy enough. Download, uncompress and place TaskPaper.mmBundle in ~/Library/Application Support/MailMate/Bundles/1

Now that you've got the bundle installed, all you need to do is select an email and hit ^⇧A. The TaskPaper bundle should be among the rest and will present you with 2 options:

  1. Send to Frontmost;
  2. Send to Default.

Send to Frontmost

This will create a task (email subject) and a note (message:// url) inside a project named Inbox (this needs to exist). If TaskPaper isn't open, the script will open it and therefore, the last active document will be the destination for the task.

Send to Default

This will create a task (email subject) and a note (message:// url) in a document of your choosing. There are 3 possible variables which need to be set first though2:

TaskPaper Path:

defaults write com.freron.MailMate MmDefaultTaskPaperPath -string "/Users/pedro/Dropbox/Apps/TaskAgent"

TaskPaper File:

defaults write com.freron.MailMate MmDefaultTaskPaperFile -string "Work.taskpaper"

TaskPaper Project:
The project where the task will be created. It can be any of your hoosing and it doesn't require adding the semicolons.

defaults write com.freron.MailMate MmDefaultTaskPaperProject -string "Inbox"

You just need to set these once. If you want/need to change any default, then simply issue a new defaults write.

In case you're curious to know what makes this bundle tick, you can simply check out the code on my GitHub

  1. Thanks to Nitin from the MailMate mailing list for the correct location. 

  2. Don't forget to change the variables to suit your needs and paths.