A recipe for IMAP with Gmail and Mail.app
In Firefox
In Gmail
- Enable Imap
- Use shortcuts and macros for yanking/labelling:
- “e” archive
- Shift-”3″ trash
- +”L0″ respond (-”B0″)
- +”L1″ action (-”B1″)
- +”L2″ hold (-”B1″)
In Mail.app
- Install Mail Act-on
- Configure Mailbox Behaviors
- DO store drafts (and “Use This Mailbox” ‘Drafts’ for drafts)
- DON’T store sent
- DO store junk (and “Use This Mailbox” ‘Spam’ for junk — I think)
- DON’T move deleted to Trash
- DON’T store deleted
- Re-map or create Mail Act-on actions to use Gmail’s IMAP folders
- Remap Ctrl-0, Ctrl-1, Ctrl-2, Ctrl-3 to new Gmail labels (?)
- Remap Ctrl-A, multiple times if need be, to capture different kinds of archiving behavior (e.g. if sent to non-gmail account, copy it to Gmail All Mail, then delete original)
- Delete to move out of Inbox but leave in All Mail
- Ctrl– to move to Trash
- Ctrl-G to move back to Inbox
- To eliminate duplicate local search results
- Set Spotlight NOT to search: Library/Mail/[...]/All Mail.imapmbox