- Close Mail;
- Go to
/Users/<username>/Library/Mail/V2/MailData/
; - Edit
Accounts.plist
(make a backup just in case); - Find the key-string pair:
<key>ArchiveMailboxName</key> <string>Archive</string>
- Change the
<string>
tag value to your desired archive folder name, e.g.[Gmail]/All Mail
orAll Mail
depending on your account folder naming scheme. - Save the file;
- Reopen Mail
The Archive folder(s) will now apear with their own icon on the left pane and not as regular folders.
You can also add an archive button to the toolbar.