I had NEVER used applescript before now. I just copied and pasted into scripteditor and saved it to my documents folder as jotttomail. Set up a rule in Mail to run when email received from
notify@jott.com that runs a script and pointed it at the script.
Fanfrickingtastic!
Thanks;)