[MlMt] MailMate event scripts

Benny Kjær Nielsen mailinglist at freron.com
Fri May 13 18:53:49 UTC 2011

On 13 May 2011, at 18:51, Helge Andre Gudmundsen wrote:

>> Try fetching this version:
>> 	http://updates.mailmate-app.com/archives/MailMate_r2098.tbz
> The latest release I see there is r2096. I will check back in a while.

Sorry about that. My mistake. This should work:


> In the meantime I have found out that my script actually triggers, but 
> that MailMate does not play any sounds whatsoever on my system. Could 
> be a configuration issue on my end, so I will look into it.

Does this include sounds configured in Preferences (for Sent Message and 

> Playing sounds is only a way to get to know the scripting, and not an 
> end in itself. What I would like to do, is to check for new messages 
> that contain a given subject and then pass on the body of the message 
> to a script that parses it to create OmniFocus tasks based on the body 
> text.
> This leads me to two further questions. Will it be possible to have a 
> script trigger on the receipt of new messages and pass the subject and 
> body on to a shell script?

It is not currently possible, but I would like it to be possible. I'll 
think about how it can be implemented. Let me know if you have any 
particular requirements.

I can add that I also think it should be possible to trigger such 
scripts on selected messages. (I cannot give you a time frame though, 
but interesting use cases are always an inspiration.)

> In the examples, the script tag always contains an inline script. Is 
> it possible to call a script external to mailmate?

Well, not directly, but you could let the inline script call an external 


More information about the mailmate mailing list