Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the best way of archiving my messages in Apple mail so that it will be archived in Gmail as well?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I've been using this AppleScript for about a year now, and it works great.


share|improve this answer

In older versions of Mail.app, delete or moving the email to the 'All Mail' mailbox would achieve this.

In Mail.app 7.3 (OS X Mavericks 10.9) Apple have made Mail.app a bit more Gmail friendly, and the standard Archive action now archives appropriately for Gmail.

Note that you must have the 'All Mail' mailbox enabled in IMAP from Gmail's settings for this to work in Mail.app in Mavericks.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.