Last active
January 22, 2020 17:23
-
-
Save adamphillips/9cbc41d1183a45ddb92588a0af77ce1b to your computer and use it in GitHub Desktop.
Outlook Cleanup - Step 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Microsoft Outlook" | |
set myInbox to folder "Inbox" of default account | |
set theMessages to messages of inbox | |
repeat with theMessage in theMessages | |
try | |
# rules will go here | |
on error errorMsg | |
log "Error: " & errorMsg | |
end try | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment