

you may move this message around the Airmail folders as much as you want. This connection will stay working until you delete message in Airmail and purge its trash, i.e. With Massage links (written to custom metadata) you can switch from this document in DT to appropriate message in Airmail and back with a hotkey, link other docs you want to this email and later see all DT docs connected with it and so on. With “mail to” links you will be able to answer to the sender from any of these files Import all attachments (also with “mail to” and “Message Links” each).Create RTF from the body of the Message (with “mail to” and Message Links).Make it a Smart Rule on Import, and drag messages into DT. Replicate record newRTF to (item i of theParents) Repeat with i from 2 to (count of theParents) Replicating (if EML file had replicants)

If filename of the newAtt ends with ".pdf" then perform smart rule name "OCR Quality Check" record newAtt Set newAtt to import theAttFile to theGroupĪdd custom meta data theAirmailURL for "airmailid" to newAttĪdd custom meta data theFrom for "from" to newAtt Set theAttFile to (theAtt as POSIX file) as alias Tell application "Airmail 3" to set theAtts to filename of mail attachments of selected message Set theFrom to attribute run 3 of rich text of newRTFĪdd custom meta data theAirmailURL for "airmailid" to newRTFĪdd custom meta data theFrom for "from" to newRTF Set creation date of newRTF to theCreated Set newRTF to import theAttachment to theGroup Set theAttachment to POSIX path of (theAttachment as string) Set theAttachment to duplicate ((POSIX file theAttachment) as alias) to (tmpPath as POSIX file) with replacing Set theAttachment to POSIX path of (theFile as string) Set filelist to every file in ((POSIX file thePath) as alias) Set theRTF to convert record theRecord to rich If type of theRecord is unknown and path of theRecord ends with ".eml" then Set tmpPath to "/Users/ilya/Documents/00_Temp" - Setup your temp folder here Tell application "Airmail 3" to set theAirmailURL to the selectedMessageUrl If you can say what exactly you want, I may find one of the scripts close to it, like this one e.g.: use AppleScript version "2.7" Is there any sites that go into details about that scripting you mentioned?
