I am looking to do the following - create an Outlook outgoing rule that will save the sent email as an.eml file in a folder on my hard drive. I want to use an applescript wrapper to call an automator action to do this. I have created the automator action, but I am not sure how to get the email object passed into it from applescript (or if this is actually necessary). When I insert an automator action to 'Get Selected Outlook Items', it literally does that - gets whatever message is selected, not the message that was just sent. I don't see anything within the Outlook automator actions that looks to be obvious to me as to how to get the correct object to the script.
Also, I'm uncertain that my approach is sound as a whole. Here's what I'm doing: Created automator action and saved as myapp.app containing: 'Save Outlook Items as Files' action Created AppleScript with the following: tell application 'myapp' to launch Created Outlook outgoing rule to call myapp I am sure I am missing a critical component, so any help would be appreciated. Thanks, Bruce.
In Mail on your Mac, create rules that automatically move, delete, or otherwise handle incoming emails for you. Rules can be applied to existing messages. When you create rules with Outlook 2011 for Mac, they will only run when Outlook is open. To create rules that work whether Outlook is open or not, you must.