<div class="markdown">
<p dir="auto">Thanks Benny,</p>

<p dir="auto">I will have a peak at required curl commands and get back to you once I have something working.</p>

<p dir="auto">Cheers,<br>
-Chris</p>

<p dir="auto">On 10 Apr 2015, at 0:51, Benny Kjær Nielsen wrote:</p>

<blockquote>
<p dir="auto">On 10 Apr 2015, at 5:16, Chris Jones wrote:</p>

<blockquote>
<p dir="auto">I'm not sure if I'm reaching for the stars here but would it be possible to build a bundle to integrate MailMate with Asana?</p>
</blockquote>

<p dir="auto">A quick look on the API reveals that <code>curl</code> can be used to create a task:</p>

<pre><code>curl -u <api_key>: https://app.asana.com/api/1.0/tasks \
    -d "assignee=1235" \
    -d "followers[0]=5678" \
    -d "name=Hello, world%21" \
    -d "notes=How are you today%3F" \
    -d "projects=14641" \
    -d "workspace=14916"
</code></pre>

<blockquote>
<p dir="auto">Since Asana is a webapp would it be possible to open the email in MailMate from Asana?</p>
</blockquote>

<p dir="auto">That's not a problem. MailMate can generate <code>message:</code> URLs and they are opened by MailMate if MailMate is the default email client (it also works for Apple Mail).</p>

<blockquote>
<p dir="auto">Asana is becoming quite popular amongst teams so it would probably add value to MailMate's bundle offering.</p>
</blockquote>

<p dir="auto">I don't currently have the time to create new bundles. I imagine it would be easiest to use the Todoist bundle as a starting point for creating an Asana bundle since it also requires the use of an API key (named a token in Todoist I think), but it seems that for Asana this is not the only variable needed (projects, assignee?, workspace?).</p>

<p dir="auto">Well, it's probably faster for me to create a bundle than it is to explain how it's done. You can contact me off list if you would like to help that happen. Primarily, I need you to play with the <code>curl</code> commands needed to do what you want with Asana.</p>

<p dir="auto">-- <br>
Benny</p>

<hr>

<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com">mailmate@lists.freron.com</a><br>
<a href="http://lists.freron.com/listinfo/mailmate">http://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

</div>