Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

GMail "Delete" button doesn't

In Apple Mail, I thought I was deleting emails but now I go to the GMail webmail and discover all those deleted files are really in the "All Mail" folder. What a bummer, I will have to sort through months of emails. how do I make Apple mail ACTUALLY delete the mails?

2.4 MBP, Mac OS X (10.6.4)

Posted on Oct 1, 2010 10:17 PM

Reply
Question marked as Best reply

Posted on Oct 1, 2010 10:31 PM

Do you have this set up as an IMAP or POP account?

If it is IMAP, all emails remain on the server (Gmail) and you will have to delete them there and check if there are settings you can choose (I don't have an IMAP account, so I don't know if/what the settings would be).

If it is POP, you can set up when emails should get deleted by going to Preferences - Accounts - Advanced. However, some servers still keep emails for a certain amount of time and you will need to check the Gmail settings (in my case, Comcast's default setting is 30 days, but that can be changed).
17 replies
Question marked as Best reply

Oct 1, 2010 10:31 PM in response to Gnarlodious

Do you have this set up as an IMAP or POP account?

If it is IMAP, all emails remain on the server (Gmail) and you will have to delete them there and check if there are settings you can choose (I don't have an IMAP account, so I don't know if/what the settings would be).

If it is POP, you can set up when emails should get deleted by going to Preferences - Accounts - Advanced. However, some servers still keep emails for a certain amount of time and you will need to check the Gmail settings (in my case, Comcast's default setting is 30 days, but that can be changed).

Oct 3, 2010 12:15 AM in response to Gnarlodious

Hi,

I too noticed this Not Deleting but Archiving into the All Mail Folder.

There may be a Setting in Gmail that allows you to change this function, but I haven't looked for it.

What I do is put the emails I want to delete into the +Gmail Trash+ on my iMac, where after 30 days they are automatically deleted from the Gmail Server,

If I want to get rid of them sooner, I simply empty the Trash when next using Mail on the iPhone.

Seems to work...

Cheers

Oct 3, 2010 1:44 AM in response to babowa

barbara, while you are right that imap keeps mails on the server, you are wrong in saying you need to delete them on the server (well, of course you do, but not manually)

the whole point of IMAP is that your local copy of mails (you download them like you do with POP!) will be synced with the mail server so both are the same and therefore all your mails are the same on all devices. so if you delete things in mail, they will also be deleted on the google server.

if you delete a message, it is moved to the trash, and it shouldn't show up in "all messages" after that. if it still does, go to your mail preferences -> accounts -> select your account on the left -> mailbox behaviour. make sure "move deleted messages to the trash mailbox" and "store deleted messages on the server" is checked. after that, see if the trash shows up on the left side of mail under "GMail -> Google Mail" if it does, select it, then select mailbox -> use this mailbox for -> trash from the menubar.

after that, everything should be working

Nov 5, 2010 1:16 AM in response to Gnarlodious

fwiw, I too have tried various incantations of preferences to try and get Apple Mail (on the desktop and iOS devices) to really delete gmail messages. I grew tired of messing with it and switched to gmail POP. (personally, I don't like the thought of all my email messages sitting on gmail's servers for very long to be searched/indexed/etc/etc anyway; but that's another topic entirely.)

IMO, it's a combination of a non-standard mail server implementation (for both imap and pop) on Google's part, and Apple's inconsistent mailbox handling across their mail clients. Maybe if Apple Mail on the desktop let you choose which folders (local or on server) are to be used for Drafts, Sent, Deleted like the iOS mail clients do, Apple Mail would be putting messages in folders on the gmail server where gmail actually expects them to be. Apple Mail's 'Move deleted messages to the Trash mailbox' and 'Store deleted messages on the server' are two of the most confusing and counter intuitive checkboxes in an Apple app. If the second checkbox actually said and meant, 'Store trash mailbox on the server' it would make sense. Some unix geek created those checkboxes back in NeXT days and they've stuck around ever since.

But I digress, sorry. The fact that Mac users have to struggle with Apple mail clients to work google's 'All Mail', 'Deleted Messages' vs 'Trash', etc is ridiculous.

Obviously, Steve Jobs has never had to fight with his mailboxes or these kinds of things wouldn't be a struggle for the rest of us. 😉

Nov 5, 2010 1:54 AM in response to devonhub

Ok, toyed with my gmail [imap] account across the Mac desktop and my iPhone and seem to have found a combination that actually works. (This is with Apple Mail from 10.6.4)

*In Apple Mail on desktop:*
- gmail IMAP account, Mailbox Behaviors pref panel:
- uncheck 'Move deleted messages to Trash mailbox'. This will disable the second checkbox, 'Store deleted messages on server', which is what we want.
- gmail account, Advanced pref panel
- IMAP Path Prefix: '[Gmail]' (enter what's between the single quotes)

*In Mail on iPhone:*
- gmail IMAP account, Advanced settings:
- Drafts Mailbox, set to 'Drafts' on the server.
- Deleted Mailbox, set to 'Trash' on the server.
- IMAP Path Prefix: '[Gmail]' (enter what's between the single quotes)

Results:
*With Apple Mail on desktop:*
When you deleted something in Apple Mail on the desktop for the gmail account, it gets moved to the 'Trash' in gmail. Can then be deleted for good from the 'Trash' folder under the top level Gmail account listed on the left hand side.
The 'All Mail' folder stops showing your deleted mail. It really goes to gmail's Trash.

IMPORTANT: The 'Mailbox > Trash' hierarchy in Apple Mail will not show the gmail account's Trash folder. The gmail Trash folder only appears under the Gmail account listed separately in the left hand list in Apple Mail. I think this is an Apple Mail bug, but there's already so many inconsistencies about server/client folders in Apple Mail it's not worth complaining about. Live with it.

*With Apple Mail on an iPhone:*
When you deleted something in Apple Mail on the desktop for the gmail account, it gets moved to the 'Trash' in gmail. Can then be deleted for good from the 'Trash' in your gmail account on your iPhone.

*With Gmail via the web:*
The Trash folder correctly shows items moved to the trash from Apple Mail on the desktop or on the iPhone.

cheers,
dEVoN

Message was edited by: devonhub

Jan 6, 2011 4:48 AM in response to Gnarlodious

This is the most elegant solution to the 'finding All Mail which has no label' problem:
http://peterjmanis.com/computers/finding-emails-without-labels-in-gmailgapps/200 807/

I've never got the Apple Mail delete to work consistently - I think I MAY have got it working on one machine, but didn't really know for sure how, and then mis-configured a second machine which only screwed things up further.

From all my wanderings there does not seem to be a 'definitive' solution to this which can be simply documented... at least I've never found it!

Jan 30, 2011 12:41 PM in response to Gnarlodious

Gmail DOES NOT DELETE mail, it archives them by removing the label 'inbox' leaving them accessible in 'all mail'

You can choose to hide the 'all mail' mailbox if you wish.

And nachdenki's instructions were absolutely correct, either your account or your following of his directions need remedial work

Message was edited by: Csound1

Message was edited by: Csound1

Oct 30, 2011 4:22 PM in response to Gnarlodious

I don't know if you are still having trouble with this but this has been bugging me for some time too. On my iPhone, I can get it to do exactly what I want. I tap the trash can button and it deletes the email and then if I were to log on to Gmail via the web, then the message has been MOVED to the Trash and is not in the inbox view and not in archived the All Mail folder (provided you turn off Archive Messages as shown here http://support.apple.com/kb/HT4207).


However, as you note, using the OS X Mail, when you click delete, it may remove it from the Gmail inbox on the web but it is still archived in the All Mail folder (ie it just removes the inbox label).


Here is what I figured out. In your Mail preferences under Mailbox Behaviors, do not check either box under Trash options. Now when you are using Mail on OS X, rather than hitting the delete key or clicking the trash can, drag and drop the message to the "Trash" sub folder under [Gmail]. This will move the message to the trash in Mail as well as iOS Mail AND also on the Gmail server if you were to log in using a web browser. It still leaves the "inbox" label on it and if you are playing around and testing it out as you do it, you will see the message still in the inbox view on the web for anywhere from a few seconds to maybe several mins (must be some delay). But eventually the deleted message will be removed from the inbox view and will only appear in the Trash (and not All Mail) just as if you had deleted it normally while using a web browser.


Also any sent messages that are not grouped/threaded will probably need to be deleted the same way, drag and drop it to the trash.


Hope that helps. I sent Apple feedback suggesting that they enhance the OS X Mail protocols to mimic that of iOS since iOS seems to actually be a little more advanced - like maybe build in that off/on toggle for archiving mail like the iOS proeferences. Right iOS is just better for managing/organizing IMAP Gmail as it seems to work just like using the web browser.

Oct 30, 2011 5:52 PM in response to JB757

Hope that helps. I sent Apple feedback suggesting that they enhance the OS X Mail protocols to mimic that of iOS since iOS seems to actually be a little more advanced - like maybe build in that off/on toggle for archiving mail like the iOS proeferences. Right iOS is just better for managing/organizing IMAP Gmail as it seems to work just like using the web browser.


Certainly hope not. Don't appreciate the iOS (simplification/dummyfication) invasion into a well functioning OS for computers. I do not want my iMac to resemble or act like a 27" iPhone. If I want a device with the iOS system (which is, from what I've read, a simplified version of the Mac OS), I will buy one.

GMail "Delete" button doesn't

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.