Skip to content

A simple Applescript to forward the currently selected email message in Mac Mail and then Delete it. I use this to forward emails to Todoist as an Alfred action.

License

Notifications You must be signed in to change notification settings

stacksjb/AppleScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple Applescript to forward the currently selected email message in Mac Mail and then Delete it. I use this to forward emails to Todoist as an Alfred action.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published