Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 993 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 993 Bytes

A repository for several simple scripts I have for various things.

Mail-Forward-AppleScript

A simple Applescript to forward the currently selected email message(s) from Mac Mail and then delete them.

I use this to forward emails to Todoist as an Alfred action.

Configuration

  • Create a workflow to execute the script (such as Alfred Run NSAppleScript)
  • Edit the workflow to contain your parameters\
    • Set the destination user under "set recipient address" and "msgrecipient"
    • Set msgSender to your "From" address on your email account

Usage

  • While message(s) is/are selected within Mac Mail, run the script.
  • They will be forwarded and set to the recipient email, then deleted.
    • If you don't want message deleted, you can remove the "delete current_Message" section

Credits

Thanks to MacScripter and StackOverflow