Automator / AppleScript to process incoming emails in Mac Mail
Posted
by
mark
on Stack Overflow
See other posts from Stack Overflow
or by mark
Published on 2010-12-30T19:54:54Z
Indexed on
2010/12/30
21:53 UTC
Read the original article
Hit count: 168
Hello all,
I'm designing an app that allows users to email me crash reports if my app ever crashes. I'd like to leave Mac Mail running on a computer and when an email comes through, an automator script / AppleScript runs to process the contents of the body of the email.
I've got the entire parsing/processing done in a python script, except I have to manually copy the contents of the email into a file and then run my parser on that file.
What's the best way to set this up so I can the contents of the email be pushed into my parsing script?
Many thanks!
© Stack Overflow or respective owner