Inform me if this works for your needs and now we can upgrade the solution with any step-by-step improvements you could find out.
Note that unchecking the „All Mail“ „Show in IMAP“ checkbox might create a lot of e-mail that includes hardly any other labels (is within no other IMAP folder) not any longer be visible in Mail.app or any other IMAP client. Making use of the Gmail internet software to find up these „orphaned“ messages and adding the Inbox label or several other label this is certainly shown in IMAP would again make them visible to Mail.app.
Aided by the Gmail system set in this way, we discover that the best Mail.app settings to use are to truly have the „Mail“ -> „choices“ -> „Accounts“ put up for the Gmail account at issue set in order that „Mailbox Behaviors“ is set to only „shop in the Server“ for the „Sent“ and „Junk“ mailboxes. We have those two containers examined, and possess the containers for „Drafts“ and „Trash“ unchecked. Both of these have to be unchecked because the gmail has been set by us host never to expose those bins as IMAP files.
We just seldom go right to the Gmail internet software, doing the vast majority of gmail through Mail.app to my interactions or the iOS Gmail application. Some of those settings could have setups that are alternative one did plenty of site interactions.
For Mark’s desired results of deleting the communications instantly, the settings that are above work – whenever an email is relocated or deleted through the Gmail Inbox and Spam folders, it will straight away be deleted through the Gmail host. The message could nevertheless be obtainable in Apple’s trash might, but that’s maybe not from the server’s trash might. (In the event that „Move the message into the Trash“ setting had been set regarding the Gmail host, the host will go it into the host’s trash, and 30 days later on, it will likely be gone). I actually do maybe not determine if Mail.app will be sending the „expunge“ sign to your Gmail servers instantly, or just following the regional Mail.app trash happens to be emptied, or on several other synchronization schedule.
An alternate may be to really have the Gmail host expose the host trash as an IMAP folder while having Mail.app store the trash in the server. Because of the „straight away delete the message forever“ server setting set, this will work as desired – emptying the trash in Mail.app should cause the gmail server to forever delete the message. I have not really tested this instant removal setup, therefore if anybody has any real experience with this, please write to us.
The main element to most of these would be to never expose the „All Mail“ as an IMAP folder, and also to counter-intuitively have „Auto-Expunge“ switched off so the options for deleting the mail can be obtained to be chosen.
And also this won’t have a impact that is direct communications manipulated through the Gmail site – by using the web site to eliminate all labels from a note, that message will be when you look at the „All Mail“ collection, and certainly will perhaps not be straight away delete or relocated to the trash. It might be essential to go right to the Gmail web site and appear through the „All Mail“ collection and dump something that doesn’t have labels.
Observe that in Yosemite and soon after, once you setup a free account that Mail.app recognizes as a Bing or Gmail account (including records of companies which are hosted at Bing), it does not set up the account designated as „IMAP“, but will alternatively designate it as „Bing IMAP“ and certainly will choose then grey out the „Advanced“ environment of „Automatically detect and continue maintaining account settings“ which could result in the SMTP account linked to the „Bing IMAP“ account to likewise have this Advanced setting of „Automatically detect and maintain account settings“ to be chosen and greyed out, so that it may not be unselected. And also this generally seems to take place whenever system improvements happen and send reports are updated once the Mail.app program is updated.
To force the creation of a „regular“ IMAP account, you can create a new account in Mail.app but use bogus IMAP host information that Mail.app doesn’t recognize as Bing servers (such as „smtp.notgm.comm“ and „imap.notgm.comm“). After the account is made as a „regular“ IMAP account, my evaluating shows that changing the server information into the proper Bing host does perhaps not change it out into a „Bing IMAP“ account, and also the „Automatically detect and continue maintaining account settings“ can (and probably should, if you do not wish items to get changed without your understanding) be unchecked. I really do maybe not understand if the „Bing IMAP“ account designation has any kind of features or abilities that the „regular“ IMAP account will not.
For completeness, here you will find the settings that are required Bing’s Gmail system at the time of Nov 2015:
This short article from MacWorld back 2013 covers a number of the info that is same and contains some screenshots: