A collection of AppleScript files for personal use (e.g. as Apple Mail filters)
This is a small collection of scripts for use with Apple Mail. They are very helpful in managing incoming email at scale. All messages are filed to ~/Downloads
where they can be further processed and filed by a tool like the awesome Hazel.
file save_Attachment_to_Downloads_Folder.applescript
- This is a script for use with an Apple Mail rule.
- Saves all attachments of the matched message in
~/Downloads
folder - Rename attachment to current date in ISO 8601 format and adds the name of the rule:
2020-01-01 - RuleName originalAttachmentFileName.pdf
file save_Message_to_Downloads_Folder.applescript
- This is a script for use with an Apple Mail rule.
- export matched messages as PDF to
~/Downloads
folder - Rename attachment to current date in ISO 8601 format and adds the name of the rule:
2020-01-01 - RuleName MessageSubject.pdf
The scripts must be stored in ~/Library/Application Scripts/com.apple.mail
to be picked up by Apple Mail.
- Run
make install
to compile the scripts and store them in the~/Library/Application Scripts/com.apple.mail
directory