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

Gmail IMAP: New mail in Inbox AND "[Gmail] All Mail"

I am now using Gmail IMAP. Whenever I receive a new message, it shows up as unread in my inbox, obviously, AND in the folder [[Gmail]] > All Mail. To clear the unread message count in the Gmail folder, I have to click on each unread message in that folder (in addition to clearing them in my actual inbox). Is there any way to get rid of this annoyance... and also the hierarchy of folders under [[Gmail]]?

Thanks in advance for any suggestions!

MacBook Pro, Mac OS X (10.5.1)

Posted on Jan 19, 2008 11:45 AM

Reply
20 replies

Feb 17, 2008 7:39 AM in response to Boblive77

I also experience this behaviour. I think this happens due to gmail's way of storing emails. Unfortunately, it seems as if gmail does not (yet) support to subscribe or unsubscribe from special folders (This behaviour also shows in Thunderbird). So it's more a gmail related than a Mac OS Mail related problem.
Maybe someone in the gmail help center or the corresponding google group can help you: http://mail.google.com/support/

If you do find a workaround or solution, please let me know.
Regards

Feb 17, 2008 8:12 AM in response to William Lloyd

I did read those help documents and configured Mail accordingly.
However, since you cannot unsubscribe from specific folders, the All Mail folder will always appear in your folder list in Mail. And since Gmail stores all mails in that folder (I think due to their conversations thingy), all unread mails will also pop up there.

Please correct me if I'm wrong.

May 14, 2008 10:35 AM in response to lukasc

I found in macosxhints an excellent method to prevent Mail.app synchronizing the All Mail folder. It's by user "ja" and can be found here: <http://www.macosxhints.com/comment.php?mode=display&format=threaded&order=ASC& pid=96614>.
Briefly, you need to open Terminal, use cd to go to $ΗΟΜΕ/Library/Mail/IMAP-youraccountname@gmail.com@imap.gmail.com/[Gmail] and delete (or move) the All Mail.imapmbox folder (e.g rm -rf "All Mail.imapmbox" - I assume you can also do than from the finder).
Then while still in the same directory ([Gmail]) type:
ln -s /dev/null "All Mail.imapmbox"
This creates an alias to /dev/null which is essentially a black hole. The All Mail folder in Mail.app will remain empty. There are no more duplicate messages and search works fine. I found this to be the best of the three hints mentioned in the same thread (<http://www.macosxhints.com/article.php?story=200802081934189>).
George

Jun 9, 2008 8:01 PM in response to s_w_i_t_t_e_r_s

George,

I'm hoping you might still be following this thread. I went ahead and did what you and "ja" suggested and that did solve the problem of duplicates in my "All Mail" folder. However, search is no longer working properly. I enter a search term in Mail 3.0 and nothing comes up; but when I enter the same term in the Gmail web interface, I get results. Any ideas?

Jun 18, 2008 10:22 PM in response to s_w_i_t_t_e_r_s

Sorry, I can't tell what the problem with search might be - it works fine for me. However, I am geting a different problem in that every time I open mail.app it attempts to re-download the entire All Mail folder, which can take a very long time depending on the size of it and the connection speed. This does not affect any other operation, but it is annoying to have the progress bar running all the time.

Gmail IMAP: New mail in Inbox AND "[Gmail] All Mail"

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