Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jump to Specific Mailbox in Mail.app
try
tell application "Mail"
activate
set selected mailboxes of message viewer 1 to {mailbox "App Testing" of account "iCloud"}
end tell
on error errmsg
return errmsg
end try
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.