You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Gmail ... IMAP ... Mac Mail.app ... Mavericks ... SOLUTION -1

hi all,


hopefully this will give you enuff info to figure out what to do (if anything), but i urge you to read thru the links below to see if you are experiencing the same issues or not, & if so, what to do about them.



THE BACKGROUND INFO:

i've been using the Mac's Mail.app pretty exclusively since its inception, and with Gmail's IMAP option since mid-2009. the settings have always stayed & worked well...

• on Gmail.com > Settings > Forwarding & POP/IMAP >

- IMAP Enabled

- Auto-Expunge Off

- Move Deleted Messages to the Trash

- Folder Size Not Limited

• also on Gmail.com > Settings > Labels >

- Only the Inbox, Sent, Drafts, Spam, & Trash System Labels CHECKED to "Show in IMAP"

• then in the Mail.app > Preferences > Accounts > Mailbox Behaviors >

- i had everything CHECKED & all the dropdown options set to "One Month Old"

--note: a year or so ago, i had to UNcheck the option to Store Drafts on server due to a hideous multiplication of draft messages showing up in the Trash

• also in Mail.app > Preferences > Accounts > Advanced >

- the IMAP Path Prefix was always "[Gmail]" to allow folders to show properly in the Mail.app

• and lastly in Mail.app >

- made sure the Sent, Drafts, Spam, & Trash folders/labels were properly mapped via the Mailbox menu > "Use This Mailbox For" option

...and i've always kept 'local' mailbox folders for archiving old emails in the "On My Mac" section in addition to keeping more current emails for reference in the "Gmail" section.



THE INITIAL PROBLEM:

after upgrading my Mac to Mavericks OS 10.9, i started noticing that any email i would delete or move from my inbox kept re-appearing in my inbox after changing views (like going to another mailbox then back to the inbox).


of course this drove my OCD crazy, & thus began the research. i've read a LOT about this issue from official sources to user discussions and have pieced together a procedure that seems to be working (for the most part) for me.



THE RESEARCH HIGHLIGHTS:

a lot of people, tek/industry people, & blogs are pointing to these webpages as good summaries of issues & fixes (yes, there are SO many more, but i personally found these to be the most helpful in my quest)...

http://tidbits.com/article/14219

&

http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/?viewall=true

&

http://arstechnica.com/civis/viewtopic.php?f=19&t=1222267

&

http://www.macobserver.com/tmo/article/making-gmail-and-os-x-mavericks-mail-play -well-together



THE DISCLAIMER:

of course, if you aren't greatly affected by the Mail/Gmail wonkiness, then it might be worth waiting another week or two (or 3 or 4...) & keep your eyes on further reports from these sites (links above or others you may like better) in case Apple &/or Google pushes an update to remedy the situation. likewise, if you do make these changes, it would still be a good idea (imho) to keep up'to'date in case such pushes do come out & affect these changes too. ugh ;-)



THE OUTCOME:

the below process, for me, has been SUCCESSFUL in every aspect except one...



THE LAST PROBLEM:

whenever i move a message from the gmail inbox (or any other gmail imap folder/label) to a local folder in the "On My Mac" section, it moves it just fine, but then it keeps a copy in the gmail "All Mail" folder/label, when i would want it deleted from gmail.


unlike when i "delete" a message, where gmail appropriately moves that message to the trash box, in this situation it simply strips the message of "any" label, and thusly it stays in the All Mail. so if anybody can amend this with a fix for that, we should be all set :-)


but aside from that last issue, the below procedure has brought back my Mail.app program to use Gmail as "I" believe it normally should work, and has always worked pre-Mavericks.



THE PROCEDURE (assuming all your settings are set like mine were as listed above):

  1. go to gmail.com in Safari (or other web browser) > Log in > Settings > Labels > and check "Show in IMAP" for the "All Mail" system label (which was previously a no-no, but now a yes-yes).
  2. also on that same page, you will need to UNcheck the "Show in IMAP" option for Drafts. and then slide over and for BOTH the Drafts & Spam labels, click the "show if unread" options.
  3. then go to each & every one of your custom "Labels" (you know them as Mailbox Folders). they will all start with "[Gmail]/foldername". click on each and remove the "[Gmail]/" leaving ONLY your custom folder name.
  4. once done, click on your Inbox to get you out of the settings area.
  5. now you will need to go thru ALL of your folders/labels (i know... big ugh!) to fix the labels attached to all the emails inside them ;-)
  6. click a folder/label to reveal all the emails inside it.
  7. click the checkbox in the header row of buttons/options that will cause all emails on that page to be selected/checked.
  8. then, IF you have more emails than what fits on that page (in other words, if you have more than one page of emails in this folder as indicated by the "1-###" and page arrow buttons at the top right), then you will see a new small row that sits above the list of emails that says "All ### conversations on this page are selected. Select all ### conversations in "Folder/Label Name" - you WILL NEED TO CLICK this text link!!!
  9. once you have, the sentence will change to "All ### conversations in "FolderName" are selected" - do NOT click the "Clear selection" link next to that.
  10. next, click on the "Label As..." button in the header row of button/options - the icon looks like a price tag of sorts.
  11. then in the resulting popup box that lists all your folders/labels, you will want to make sure ALL checkboxes are UNchecked EXCEPT the single folder/label that these emails are in. note: some of them may or may not have dashes instead of checkmarks in the boxes - you will need to click it to check it and then click it again to get it UNchecked & UNdashed.
  12. after you've got only the one label checked that should be checked, then click the APPLY word at the bottom of that little popup box. note: if all the selected emails are labled correctly, then you won't see the "Apply" option & you can simply move on to the next folder.
  13. if you get a dialog confirmation box pop up asking if you are sure you want to continue... click OK.
  14. then WAIT! this may take a while depending on how many emails it's affecting and how fast/reliable your internet speed/connection is. when you see the "Loading..." notification at the very top of the page change to "All conversations have been removed from (and it lists them all)", then you can move on & do that same procedure (steps 5-13) to fix another folder/label.
  15. WHEN DONE WITH ALL THAT, you can exit your browser.
  16. now go to the Mail.app > Mail menu > Preferences > Accounts > Advanced > and remove the "[Gmail]" text from the "IMAP Path Prefix" field.
  17. then go to the Mail.app > Mail menu > Preferences > Accounts > Mailbox Behaviors tab and if the Store Drafts on Server option is checked, UNcheck it.
  18. then close the Mail.app Preferences window to get the option to SAVE that change!
  19. now go to the Mailbox Menu > Synchronize > Gmail, in case it hasn't started doing that on its own.
  20. then open the Window Menu > Activity, so you can see when it's done synchronizing. this may take a while if you've got a lot of mail. according to some, it took a day! so, just kick back & leave it alone till then.



THE END FOR NOW:

hopefully this helps other folks that were setup like me & want to keep it working that way. and yeah, again, if anybody knows how to fix the last problem described above, please let us know.


.peace.:.jason.

Posted on Nov 5, 2013 10:11 PM

Reply
49 replies

Dec 11, 2013 11:19 AM in response to Ellerslie

All Mail must me checked so that it's visible in imap! Many think you can get around this but it's not possible... Once you've done this don't move anything into lables for 4 days it takes that long for Mac Mail App to re-lable all your emails so that it works with gmail...


see these articles....


http://www.macobserver.com/tmo/answers/how_to_setup_gmail_imap_and_mail.app1/?ca chebuster=527e721a69777


https://tidbits.com/article/14219


You have to be patient! Wait the 4 days or even a week... Then it will work fine! Make sure to leave your computer on for that time.


Best,


-G

Jan 3, 2014 8:38 AM in response to syberknight

This all sounds excellent, but I have a slightly different problem I think you may have the interest and knowledge to tackle. I don't care about deleting messages, I just archive them all the next time I'm on my phone. As a result, I have tons of old mail on google's server, which they seem content to store for me. What I don't want is for Mail to keep them all on my hard drive also. Is there a way to limit how much mail is kept locally? I don't mind it filling my desktop as a backup to google (as unnecessary as that may be), but I want space on my laptop. The iPhone seems to know this, and dumps old messages until it needs to download them again, but can we get Mail to be that smart?

Mar 7, 2014 12:50 PM in response to syberknight

I have the solution....


1. Configurate your gmail account

2. try to send and email. It show error like this:

User uploaded file

3. Go to Windows -Connection Doctor.

User uploaded file

4. Look, the red circle , double click and Look your configurations.

User uploaded file

5. You just need to change the "username" for, in my case, rlobo@yourbussines.com


I don`t know why mavericks now just put your name like "username" for connect to gmail, and we all know that the username for gmail is yourname@gmail.com.


Sorry for spanish version of the image, i am from Perú 😉

Mar 17, 2014 5:38 PM in response to gdepena

I disagree that 'All Mail' needs to be synced. With Mail 7.2 if you add the account as a Google account you can now leave out the [Gmail] path prefix AND hide the 'All Mail' folder.


But note: if you do enter an IMAP path then you'll need to sync 'All Mail' to make it work properly–the two seem to go hand in hand.

Apr 4, 2014 8:35 AM in response to mailje

Wouldn't it be better if apple just issue a free download of the old Mac Mail app. from their store for Maverick 10.9.2 because it worked and the new one is absolutely awful. There is no spinning wheel to say if it is actually getting emails and the icons on top bar are pathetic to be kind. How can any company set out to improve and make such an ameurterish mishmash? As far as the difference between the existing Mail app and this one is that the new one is terrible and makes everything about email impossibly harder. I cannot see what emails I have as, there are so few on the page and everything about the new Mail is just the worst possible presentation that Appple could have dreamt up.


BRING BACK THE ORIGINAL.MAIL

May 13, 2014 3:30 AM in response to syberknight

Hello,


I am trying to get my work emails (google mail server) onto my Mac Mail. Initially I couldn't move my emails into my folders on Mac mail so I followed your advice as detailed here on the first post of the thread. And it worked. Hurrah!


However, now I am missing loads of emails - they have just disappeared from all folders. They've actually disppeared from my Googlemail account rather than just not visible on Mac Mail. Lots of important emails from all folders have disappeared. I presume this is beacuse I went through and did this:


  1. next, click on the "Label As..." button in the header row of button/options - the icon looks like a price tag of sorts.
  2. then in the resulting popup box that lists all your folders/labels, you will want to make sure ALL checkboxes are UNchecked EXCEPT the single folder/label that these emails are in. note: some of them may or may not have dashes instead of checkmarks in the boxes - you will need to click it to check it and then click it again to get it UNchecked & UNdashed.


Can I restore back to my old settings and just not use Mac Mail. Why have these emails disappeared?


Any help appreciated 🙂


Cheers,

Delia

May 13, 2014 4:29 AM in response to djmonkey83

Hi Delia


Sorry that it does not have the help that you require. Maybe ring Apple suport and ask for a 90 day suport package free from them because that's what I did as, I am about five weeks into Mavericks and non-stop problems on my iMac all caused by Mavericks and it has taken a lot of effort to resolve things and an awful lot of time. All other updates in the past did not ruin my original settings particularly but because Apple are trying to make every possiblity possible in terms of iPhones, iPads, Laptops and desktops (which I feel they are bored of) all work on the one platform it has caused a lot of hassle for a lot of people. Apple should help you to find your missing emails as it is their operating system that has created the problem in the first place. Obviously nothing stands still but Mavericks is unique in creating a situation where millions of people are spending a lot of time resolving issues caused by a new operating system.


Martin

May 30, 2014 11:43 AM in response to syberknight

Thanks Syberknight! Your post solved my lingering problems.


I have been struggling with Apple Mail every since I upgraded to Mavericks. I have my iCloud (mobile me) account and 4 gmail accounts for business. I had exactly the same issues you were struggling with and wanted / expected the same outcomes for my actions you listed. I had worked through some issues but not comprehensively and completely as you have here. I started by resetting my email to default then followed your tut. Worked perfectly. Thanks again for sharing!

Gmail ... IMAP ... Mac Mail.app ... Mavericks ... SOLUTION -1

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