How to Remove Mail from Gmail when Archiving Locally on Apple Mail?
I have been using Gmail for about 7 months, now. I am using it in conjunction with a MacBook Pro (15 inch, mid-2010, i5, 2.53 GHz, running OS 10.7.4 and the current version of Mail) and an iPhone 4S (iOS 5.1.1 with the pre-installed Mail app). I, rarely, use Gmail's web interface and prefer to view and manage my mail using my devices.
I, recently, discovered a Gmail behavior that I wasn't aware of. Whenever I deleted an email from my Inbox on my MacBook, it wouldn't, actually, delete from Gmail. Instead, a copy of the mail would remain in Gmail's "All Mail" folder. It seems that Gmail and I have different ideas about deleting. When I delete, it means that I would, actually, like to get rid of it, not hide it somewhere else. After sorting through the, almost, 3000 emails in the "All Mail" folder and re-deleting everything that I thought I had already deleted (a pain, to be sure), I found the solution to my problem. In Apple Mail, I checked both Trash options in my account preferences then selected Gmail's "Trash" folder and used the "Use This Mailbox For" option to map it to Mail's trash (similarly, I mapped the trash folder on my iPhone to Gmail's trash folder). Now, everything I delete is going to the same place (and actually getting deleted).
I have a second issue, though, that I haven't been able to properly solve. I prefer to archive my mail locally rather than keep it on the server (i.e. I have created several mailboxes "on my mac". Emails I want to keep, I just drag them to the appropriate folder for safekeeping). When I drag an email into a local folder, it gets removed from the Inbox, but it still remains in the "All Mail" folder. I don't want this to happen. When I remove it to archive it, it means that I would, actually, like to remove it and, only, store it in my archive. I hate having to move stuff twice. Is there any way I can, completely, remove an email from Gmail when I archive it locally? (i.e. have it be deleted from Gmail when I remove it from my Inbox?)
MacBook Pro (15-inch Mid 2010), Mac OS X (10.7.4)