Apple Intelligence is now available on iPhone, iPad, and Mac!

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

Yosemite Mail still has sync problems with Gmail - any solutions?

I notice that Yosemite Mail still has sync problems with Gmail. After running for some hours, I noticed there were 6 emails in my Gmail account that had not synced over the past hour.


In the meanwhile, for safety's sake (don't want to miss emails!) I'm back to Mailplane. But I wonder if anybody knows of a solution to this long term problem first introduced in Mavericks. Works fine in iOS Mail though.


Thanks,


doug

MacBook Pro (Retina, 13-inch, Late 2013), i5, 512 GB SSD, 16 GB RAM

Posted on Oct 18, 2014 9:10 AM

Reply
162 replies

Feb 2, 2015 4:34 PM in response to Nickg142

Nickg142 wrote:



Mail Inbox was repopulated quickly.


For the moment. See how it runs over the next couple of weeks. Many of us, including me, have done things like that and have seen it run for a few days synching just fine, then we notice a bunch of mails over at Gmail which haven't synched over. Sometimes they will, eventually, like half a day later. Sometimes they won't.


doug

Feb 3, 2015 8:31 AM in response to Doug Lerner2

I'm seriously losing it soon. After mail actually managed to deliver all emails during the last month, I now discovered that it compensated for the lack of errors by using my not quite that reputable second email address for ALL of my emails, despite having my primary address as default and always sending from the primary account. Really fun if you have sent your job applications from mail.

Feb 3, 2015 10:22 AM in response to Csound1

I did not say you suggested a reinstallation. There have been previous discussions about people not getting all mail, and for some a reinstallation fixed the problem. Since I had the same problem, I have previously done a reinstallation during which I among other things checked that I had the correct server specs for each account, that I did not have the setting that automatically changes servers activated, that the servers were used exclusively, and i did verifications for incoming and outgoing servers that worked for my non-gmail accounts, and after several tries as well for both gmail accounts.

Apr 8, 2015 1:07 PM in response to Doug Lerner2

I have been battling this for months. Not only does it happen in both my work (gmail for work) email but also my personal gmail (regular gmail). I even went to far as to build an entirely new user in Mac OS to avoid any problems holding over due to settings and such. The problem migrated.


As well, the "uncheck all mail" thing only lasts temporarily, and back the problem comes.


I wonder if more people don't have this problem, they just don't know it.


I find myself keeping both mail.app open and my email accounts open in the Gmail interface. 2-3 times a day, I look through the gmail interface and archive messages from there, then go back to mail and pick "synchronize" to get the account to catch up.


*sigh*

Apr 16, 2015 3:56 PM in response to Shurhold

I can't believe I finally have good news to report about this, but I finally have it working on my MacBook Pro with OS X 10.10.3.


I had been using Mailplane for months, but there were still so many things I liked better about Mail that after 10.10.3 I tried again.


I have 7 accounts - 5 are Gmail and 2 are generic IMAP. Some accounts have hundreds of thousands of emails going back 15+ years.


After trying again with 10.3.3, sure enough a few hours later Gmail stopped syncing. However, it was only having trouble syncing with one account, which I took as a positive sign.


I kept the Activity window open the whole time and noticed that just before syncing stopped, the Activity monitor would report it was doing something with a large cache of over 170,000 message. Most of the time that message would never disappear from the Activity window. Sometimes it would go away, but still syncing from that account stopped. And the progress bar for whatever it was doing never progressed.


So what I did (after first confirming I had nothing from that account in "On My Mac") was just this:


1. I deleted the account - which required deleting the account from Internet accounts in my case.


2. I then recreated the account. Note: When doing this I used all standard default settings. No "tricks" with hiding this or that mailbox or whatever. Just plain, vanilla Gmail account settings which are created automatically.


Full syncing took overnight. But after that - and it's been more than a week now - all my accounts, including all my Gmail accounts have been syncing perfectly! I think the problem might have been fixed finally!


For productivity improvement, I also did the following:


1. In the account settings, under Mailbox Behaviors, I unchecked the "Store draft messages on the server" option. This was not interfering with email syncing from Gmail, but if left on then sometimes outgoing mail annoyingly gets left in the Drafts mailbox even though it was sent. That's still a bit of a bug remaining. But you can avoid that annoyance by unchecking the box.


2. I added MsgFiler from the App Store. It lets you quickly file emails in mailboxes with keyboard shortcuts (and I have a large hierarchy of mailboxes in all my accounts) which, for me, is a huge time saver. It also does other things like let you open mailboxes with shortcuts, and create new mailboxes on the fly.


Anyway, I would try the complete removal of accounts which are not syncing (assuming they are IMAP accounts of course!) and then recreating them from scratch, as simply as possible, with all default settings. And leave your Mac on until all the caching and syncing is done (which you can monitor in the Activity window).


In the meanwhile, I'm a happy Mail camper again for the first time since Mavericks!


doug

May 12, 2015 7:47 AM in response to Doug Lerner2

Just to add to this conversation: The problem with Mail described in this thread has been a problem for me for years. I have spent a long time trying to both understand and deal with it, with varying levels of success and failure over time. At the moment, under 10.10.3, the problem remains. I currently use Gmail, but the same thing used to happen when I was on an Exchange server.


Someone mentioned that there aren't a lot of people reporting this problem, and I'm pretty sure it's because it only affects people that have large archives of e-mail. I am an e-mail packrat, and have 600,000+ messages. The reason for the slowdown is because Mail is continuously syncing and re-syncing e-mailboxes, even those that haven't been changed in months. In the past, I've noticed that problems started happening when I allowed any single e-mail folder to exceed around 10,000 messages, so to avoid the problem I'd break my large e-mail folders into collections of less than 10,000 messages. That usually worked, and when the problem started happening again it was a signal that some folder (usually Trash) was getting large.


I migrated to Gmail less than a year ago, and I thought the problem was fixed, so re-combined some of those folders, and now I have a few that are larger than 100,000 messages. All seemed OK until I upgraded to 10.10.3, and the problem returned. I deleted my Mail Index files and then had Mail rebuild them, and that helped some but didn't solve the problem. If you look at the "Activity" window, located under the "Window" pull-down menu, you will see it syncing and re-syncing, even mailboxes that haven't been touched in months.


One thing that does seem to work is to religiously Quit and Restart Mail at least on a daily basis (I've typically let it run 24/7, since I use it so often). For me, that immediately syncs any unsynced email, and makes things work better for a at least a few hours, if not a few days.


More recently, there is this thread, which seemed to help some people and partially helped me. Other interesting threads are here, here, here, and here, which could be helpful for some.


For those calling out to Apple to fix this, I doubt it's on their radar screen given the limited number of people who are affected. I know from personal experience that this has been a problem for many years, and I've searched and re-searched the discussion forums for a solution for just as long. From my experience, your choices are to (a) live with it, using the accommodations that have been suggested, (b) divide up your e-mail folders to keep them under 10,000-ish messages each, or (c) find another e-mail client that you like.

May 12, 2015 8:21 AM in response to FJ9999

I am 100% in agreement with FJ9999 and here is why. I used to also be an email pack rat and over the years experienced these Gmail/Mail.app problems like everyone else here. I thought the release of 10.10.3 fixed the problem, but in fact it did not. What most likely did fix it was shortly before updating to 10.10.3 I decided to clean house in email and pared down my 10 years of Gmail to only a couple of thousand relevant messages. After doing this, I have not had one single recurring issue.


So in addition to the suggestions of FJ9999, I would add that you perhaps evaluate just how necessary are the several hundred thousand messages you may have. If not so much, maybe archive them off in a different manner and keep only the truly relevant messages so Gmail will again work as it should with Apple Mail.

May 12, 2015 1:19 PM in response to Larry McJunkin

Larry,

Very helpful perspective and suggestions. When I transitioned to Gmail, I took much of my old e-mail and put them in separate folders with the intention never to touch them (i.e., never add any more e-mail to that folder). I was hoping that, because those "archive" folders would never change, and incoming e-mail would be added to different folders, Apple Mail would be smart enough not to keep re-syncing those static "archive" folders. Good idea, but I was dead wrong, as the problem persisted.


So, archiving old messages in a different manner, as you suggested, is what I will likely ultimately do. I can't just get rid of them because I actually do need them from time to time. Actually, now that I think about that, I can do that in about 30 seconds simply by telling Gmail to hide those Archive folders with Apple Mail (via Settings > Labels > [Unchecking "Show in IMAP" box], which will preserve those "archive" folders but make them invisible to Apple Mail). The only downside that I can see is that I will no longer be able to do a search through all my e-mail using Apple Mail, but I can still just open up Gmail and use Gmail's search to do that. Hmmm... I think I'll do that and see how it goes.


Thanks again for the additional idea!

May 24, 2015 4:28 PM in response to Larry McJunkin

I'm another one who has quietly wrestled with this problem, hoping Apple would magically fix it in one of their updates. I will try some of the suggestions above, pare down gmail folders and see if that helps. My personal experience with Apple Mail is that for one of the most fundemental applications on my desktop it has been too glitchy for too long. I sometimes think there must be a war going on behind the scenes between Apple and Google, with the goal of driving people away from their competitors applications. If this is true, Apple is losing. At work I flipped over to the Gmail client, and I am about to at home as well, which is crazy because Mail works fine on my iPhone and iPad, just not my MacBook, iMac, or MacMini.


A slight variation on all this, that I find annoying is that 20% of the time the blue "read" dot will not go away after I open an email in Mail. I've found that re-syncing doesn't help, but if I close the Mail window and reopen it, all the status flags update correctly. Go figure....

Yosemite Mail still has sync problems with Gmail - any solutions?

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