Previous 1 2 3 4 Next 49 Replies Latest reply: Feb 25, 2015 6:04 PM by Falux
syberknight Level 2 Level 2 (185 points)

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.




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

• on > Settings > Forwarding & POP/IMAP >

    - IMAP Enabled

    - Auto-Expunge Off

    - Move Deleted Messages to the Trash

    - Folder Size Not Limited

• also on > Settings > Labels >

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

• then in the > 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 > Preferences > Accounts > Advanced >

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

• and lastly in >

    - 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.




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.




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)...








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 below process, for me, has been SUCCESSFUL in every aspect except one...




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 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 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 menu > Preferences > Accounts > Advanced > and remove the "[Gmail]" text from the "IMAP Path Prefix" field.
  17. then go to the > Mail menu > Preferences > Accounts > Mailbox Behaviors tab and if the Store Drafts on Server option is checked, UNcheck it.
  18. then close the 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.




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.



  • virtualAThome Level 1 Level 1 (0 points)

    Well, maybe it is a good tutorial but I can't remove [Gmail] part of the labels as my Mailbox app for iPhone/iPad won't work. Right now I'm on Airmail (I guess the authors are blessed by Apple as the sales increased by thousands percents) but I would like to return on as I miss some features from it.

  • Dean Suhr Level 1 Level 1 (15 points)

    I have several hundred folders across 4 gmail accounts and well over 500k messages.  I'm hopeful this works, and will watch for what others see as results.  But I don't have the patience or time to make these changes.  Maybe a quick prayer to the software gods that this problem will be fixed (or the transition automated) in a soon to be released Mail update.  For now I have ALL mail enabled and a week later things are still stop and start with regard to synchronization.  And search always pulls up Archive as the message destination.

  • syberknight Level 2 Level 2 (185 points)

    hi virtualAThome,


    i guess i should have mention rather assume - but the changes in Mac Mail need to also be changed in your iOS devices.


    for the Prefix of [Gmail], it's at...

    Settings > Mail, Contacts, Calendars > Gmail Account > Account Email Address > Advanced > Incoming Settings > IMAP Path Prefix.


    then back out & dont hit "cancel" anywhere, tap "done" instead.


    hope that helps.

  • virtualAThome Level 1 Level 1 (0 points)

    The problem is that the app Mailbox requires it's own folders in the gmail account (the all start woth [Mailbox], for example [Mailbox]/Later, [Mailbox]/Done etc.) and I can't change it.

  • ray pasquale Level 1 Level 1 (0 points)

    Nothing has helped me. I've tried nearly everything. All of my IMAP accounts are busted. Not just Gmail imap. Can't empty trash etc... not good. Very "un Apple" like.

  • syberknight Level 2 Level 2 (185 points)

    ok. i used to have "[Gmail]" as my path prefix.

    if you have "[Mailbox]" as yours, the same principal applies.


    steps 3 and 16 in my instructions above mention how to remove this.

  • syberknight Level 2 Level 2 (185 points)

    so now that the Mail update has come out, i've spent more time trying to figure this out.


    i first went back into gmail via the web browser > settings > labels > and turned the "show in imap" option for ALL MAIL back "OFF" as it used to be (yay).


    then, i ended up just deleting my gmail account off of Mavericks Mail & iOS 7 Mail, and then adding them back from scratch.


    everything "seems" to work in both Mail programs -BUT- i've noticed in my testing that whenever i move a message in Mac Mail from one folder to another (inbox to archive, or any folder to any other folder; Except Trashing - that works), that gmail in the web browser KEEPS the label of the folder/label i move it out of when it moves it to where i moved it. like a "copy" instead of a "move".


    driving me crazy! i want a clean inbox, and i want to have my email sorted how I want it sorted; but this means i either still have to do it all thru the web browser OR do it twice (once in mac mail & then go to the web browser to lean up all the leftover labels).


    oddly enough, the iPhone does NOT do this; when i move a message there, it moves it everywhere else as it should.


    any tricks to making mac mail do this correctly?

  • Dean Suhr Level 1 Level 1 (15 points)



    You said you turned off "display All Mail in IMAP" in Gmail's web yet talked about dragging things into All Mail ... that is a bit inconsistant.  I have no idea what teh propoer behavior is for dragging from In box to All Mail is - I think All Mail is best left undisplayed and ignored.


    You also described how Gmail works in the web interface when dragging from folder to folder  - does this happen in Mail?  Frankly I don't care what labels are on my mail as long as it is where I want it in Mail, ie who cares what Gmail says the labels are? 


    I tend to stay away from Google's web interface - I use Mail and iOS Mail to manage all of my accounts - 5 of them - 14GB total representing over 600k messages. 


    Mail, to my knowledge is much more IMAP like in that inside Mail you can only have one folder for a message a given message which implies one gmail label (I use lots of rules but no smart mailboxes so I am not sure, but presume that is all handled inside Mail and not with Gmail labels)


    The Mavericks Mail v0.0 to Mail v1.0 was quite an experience with having to synchronize All Mail in and then synchronize All Mail out (2 days each)  and a 1 3/4 hour mailbox rebuild for Mail 1.0, but all seems to be working correctly now (All Mail no being displayed).

  • syberknight Level 2 Level 2 (185 points)

    hi Dean Suhr,


    i just went back & re-read my posts... i find no where that i said anything about dragging emails into the ALL MAIL folder. i mentioned the issues with dragging messages into "any other folder that i've created" from either the INBOX or "any other folder that i've created".  it copies instead of moves the message. but ONLY Mac Mail does this. the iOS Mail app does NOT do this - it moves as it should move.


    as far as what you said "who cares what Gmail says the labels are"... well... I do :-)


    there are occasions where i need to utilize the web browser gmail interface, and i want it to be correctly synced.


    i don't think it's unreasonable to want that, as that's how it's been for YEARS, till now, AND that's how it still is with iOS 7.


    besides, what happens if i get a different device/computer and need to add the same account - i imagine it will not sync up correctly if gmail has labels on messages that it shouldn't.


    fortunately for me, i don't have quite as many messages & accounts as you; it only takes aprox 30 minutes for mail to sync up after i started over with it.



  • Dean Suhr Level 1 Level 1 (15 points)

    Is not the Archive folder in Mail the same as the All Mail folder/label in Gmail?


    Best of luck to you ...

  • robhitt Level 1 Level 1 (0 points)

    I have the same problems with the labels and gmail, was perfect the way it used to be.  Let us know if you figure this issue out. thanks

  • syberknight Level 2 Level 2 (185 points)

    hi Dean Suhr,


    well, it depends. i've noticed, during this trial, that when i had the ALL MAIL folder in Gmail > Settings > Labels checked to "show in imap", that it WAS the same as the archive folder. in other words, when i click the "archive" button in Mac Mail, it puts it in an "Archive/Gmail All Mail" folder, and when looking at it via a web browser, that message is simply UNlabeled and resides in the ALL MAIL folder.


    BUT, when i re-checked that option to NOT show the ALL MAIL folder in imap, either Mac Mail or Gmail creates a new folder/label called "[imap]/Archive" (that's how it's shown in gmail via web browser - in Mac Mail, it's just "Archive"). and the resulting action labels it as such.


    it's weird. ugh. i used to love gmail; now i'm wanting to move elsewhere.



  • gdepena Level 1 Level 1 (0 points)

    I found this to be the best solution:



    In the end you have to wait 4 days for so till it starts working properly...  Don't try moving stuff till it's all done.



  • syberknight Level 2 Level 2 (185 points)

    hi gdepena,


    thanks for the link, but... that article is from 2010 & doesn't seem relevant to the Mavericks issues.



Previous 1 2 3 4 Next