[MlMt] TaskPaper Bundle

Benny Kjær Nielsen mailinglist at freron.com
Fri Jan 31 13:25:38 EST 2014


On 31 Jan 2014, at 19:02, Pedro Lobo wrote:

>> An idea:
>> I don't know, if its possible, but if it can be, it would be awesome.
>> a) Tag a message @awaiting
>> b) added to Taskaper
>> c) if there is a reply to that message, @done tag is added to the 
>> task. (applescript running x-minutes/hours in the background)
>
> Benny could weigh in on this, but maybe setup a smart mailbox for the 
> @waiting tag and have a rule run that once that message is replied to, 
> it could run a separate command that would add a @done tag.
>
> Benny: Is this possible? Any ideas?

The main problem is locating the task in TaskPaper. It is likely that 
TaskPaper returns some kind of identifier for this purpose, but this 
then needs to be stored until it is needed when a reply has been sent. 
This is hard to do in a way that would synchronize with the IMAP server 
(it could be an IMAP keyword, but I don't think servers work well with a 
very large number of keywords). It would probably be better if the task 
could be located using the Message-ID of the message.

So,

* a smart mailbox with conditions for the keywords @awaiting and 
`\Answered`
* should have a rule with an action launching a script
* which given the Message-ID of the message matching the conditions 
would locate the task and mark it @done.

The rule should probably also remove `@awaiting` in order to prevent 
other installs of MailMate to repeat the action (this cannot be 
completely avoided since they might do it at the same time).

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20140131/b944d3a6/attachment.html>


More information about the mailmate mailing list