<div class="markdown">
<p>hello,</p>

<p>I'm really delighted to have Markdown working so well in MailMate, as you'll soon realize.</p>

<h1>Summary</h1>

<p>I could use some help or feedback in how to integrate MailMate with Taskpaper from Hog Bay Software.  And to be blunt, it doesn't have to work with Taskpaper as much as the Taskpaper files or be able to hand things off to osascript(1) for insert.</p>

<p>I have some ideas about how it could or should work, but I don't know how to implement this best or if it would be something I'd have to ask Benny for as a feature enhancement.  </p>

<p>This may also help people using OmniFocus since once we get things out of MailMate we can do the rest via AppleScript with Applications that support it.  Right?  (Disclaimer: I don't understand all the moving parts well enough to have confidence)</p>

<h1>Longer version</h1>

<p>I use a piece of software called <a href="http://www.hogbaysoftware.com/products/taskpaper">Taskpaper</a> to manage lists of tasks.  The lists are plain text documents with a basic markup syntax for determining if a line is a task, project, or note.  They live in a Dropbox folder.</p>

<p>Most of the time I try to keep my &quot;system&quot; to Taskpaper because it's so easy to work with.  There is good support for Services and scripting in Taskpaper, so integrating with Mail.app is a cinch to do things like:</p>

<h2>Example workflow</h2>

<p>
This is the workflow in Mail.app as reference</p>

<ol>
<li>Select a message</li>
<li>Hit a hotkey (such as Command-Ctrl-T)</li>
<li>Create summarized task with a link to the email in an open task list

<ol>
<li>This uses the Summarize service in a neat way</li>
</ol></li>
</ol>

<p>This lets me triage my Inboxes very quickly, and then go back later to work on something that came in via email and easily access the original message that started it off for easy access after I've Archived the email to get it out of the way.</p>

<p>But alas, MailMate doesn't make this easy for me without scripting support!  I am pretty ignorant of the emate CLI tool and the new service that is exposed so maybe someone feeling generous can do a proof of concept with me or aim me in the right direction?</p>

<h1>user story</h1>

<p>User receives an email in MailMate and can use a selectable/assignable hotkey that creates a summarized task to Taskpaper.  The task should contain some information about the message and a msg link that will refer to the email when you click the URL in Taskpaper (or Terminal or any other application that can let the user click a URL).</p>

<p>That information about the message may be a Summarize Text OS X Service output, or even simply the subject of the email.</p>

<h2>formating</h2>

<p>The line that is added (prepended or added to an Inbox: project or handed off to an AppleScript for delivery to TaskPaper) should look like this:</p>

<pre><code>- Re: Question about using MailMate with TaskPaper message://%3cCOL103-W6ECFBLAHBLAHBLAH26443A16C52CC0B80@phx.gbl%3e
</code></pre>

<p>or with summary:</p>

<pre><code>- Re: Question about using MailMate with TaskPaper message://%3cCOL103-W6ECFBLAHBLAHBLAH26443A16C52CC0B80@phx.gbl%3e
    Blah blah blah summary summary summary lore ipsum summary email is dumb but MailMate makes it much better blah
</code></pre>

<p>The second line will show up as a Note associated with the task above it when viewed in TaskPaper (or any application that parses TaskPaper files, e.g. the plugin for vim or emacs or BBEdit etc)</p>

<h2>possible methods I can think of</h2>

<p>Prepend to a .taskpaper document specified by user either via option or pre-defined string.  I have a project filed in ~/Dropbox/TaskPaper/@personal.taskpaper named:</p>

<pre><code>Inbox:
</code></pre>

<p>Most people use Taskpaper probably have an Inbox: project at the top of their list like I do.  Some may have an Inbox file!</p>

<p>Somehow getting the Subject of a selected email in MailMate and/or sending that message to the Summarize service and then prepending or smartly inserting the task into the Inbox: project at the top of the document would be perfect.</p>

<h1>supplemental</h1>

<p>The <a href="http://www.hogbaysoftware.com/wiki/AddCurrentMailToTaskPaper">TaskPaper Wiki</a> has one or two example AppleScripts that insert stuff into TaskPaper for reference.  One that can be used as a service is also available.</p>

<p>Thanks for making it to the bottom, if anyone else finds this interesting I'd love to have a conversation or advice on how I can best proceed. </p>

<p>//e<br>
// +1-646-543-6679, @incumbent, &amp; http://incumbent.org/</p>

</div>