

Be sure to change the value of savePath variable accordingly to your needs. This script will save the attachment named "blank expense report" in a named "Inbox" at Machintosh HD:Users:yourUsername:Inbox. Set savePath to "Macintosh HD:Users:yourUsername:Inbox:" & attachmentNameĭisplay display "The Following Error Occurred:" & err It uses up my data for some emails that I will open on the computer so I dont need the attachments downloaded. If attachmentName is "blank expense report" then Set attachmentName to name of theAttachment Repeat with theAttachment in eachMessage's mail attachments However, this carries the risk that a virus will also be automatically downloaded through an infected attachment. On perform mail action with messages theMessages for rule theRule 3 Tap the Menu (three lines at the top corner) 4 Tap Settings (scroll to the bottom) 5 Tap your email address. This is an edited version - quite possibly not the best one - of the script shown in this answer to the Automatically Save Attachments in Mail.app in 10.8 Mountain Lion thread, I've tested it and it works: using terms from application "Mail" If you’re building this Flow, you would think you would only need 3 steps: When a new email arrives. How to set attachments to auto-download using the Gmail application.
