Mail dying on "Updating Cache" with Gmail IMAP

Many times every day, Mail appears to die while updating its cache on my Gmail account (IMAP). It works fine with all other POP and IMAP accounts but something with the Gmail account causes it go die. I have to force quit to get out of it and re-launch and, invariable, it happens again. Never when I am looking, only when mail is in the background (that could just be dumb luck). Anyone else having anything like this?

I fixed this problem by doing a "manual" rebuild which included the following:
- Archived my mailboxes
- Quit Mail
- Moved my Mail folder out of my Library folder
- Moved the Mail preference file out of the preferences folder
- Started Mail which now thought it was starting for the first time
- Entered my account information
- Imported my Mail folders that had been archived
- Quit Mail
- Copied back my rule, signatures, etc., from the Mail folder I had moved out of the Library folder to the new Mail folder.
- Started Mail
Everything now works fine for me.
Disclaimer: This it the procedure I remember doing at work and I think it's correct. If you are going to try this make sure that you have backed up first and understand what you are doing.

Similar Messages

  • Apple mail not syncing Sent folder with gmail imap

    I'm running Apple Mail 5.0 with Gmail imap. The Inbox folder syncs perfectly. But when I click 'Sent' in Mail the folder is empty. How to keep the 'Sent' folder in sync with the Sent mail in my Gmail account?
    Operating system: OSX 10.7
    Program : Apple Mail 5.0
    Thanks for your help!

    This is the iPhoto forum - give the mail forum a shot
    LN

  • Mail 6.2 having issues with Gmail Imap

    I have issues with Gmail IMAP online on mail 6. Restarting Mail helps getting new messages but soon become offline and cannot be reset. Read may post and tried what was discussed but yet could not find any firm answer. The problem seems started new after upgrade to osX10.8.3

    Hey hikari07,
    If your Gmail account cannot be added to the iPhone, it might be locked, try unlocking it.
    https://www.google.com/accounts/DisplayUnlockCaptcha
    -Jason

  • Mail 3.0 not syncing with Gmail IMAP

    This morning Mail 3.0 stopped downloading new mail or updating with the server. I am getting new mail on my iPhone, and the iPhone does reflect Gmail - but Mail 3.0 does not.
    Any ideas?

    You may want to double check the settings as instructed [HERE|http://gmail.google.com/support/bin/answer.py?answer=13275].
    Axel F.

  • Mail won't synch with Gmail IMAP

    Same problem as so many other loyal Mac users on these forums...
    New Macbook Pro 2013 running Mavericks 10.9.1 and Mail 7.1 (1827).
    It's been synching fine with Gmail IMAP for months. Then two days ago, was no longer to synch incoming mail. I can still send Gmail fine. just won't receive new mail.
    Yes, I checked my settings. They're fine.
    I've spent hours on these forums looking up and trying the various home remedies: Repair Permissions, Take All Mail Offline/Online, Uncheck SHow All Mail Imap, nothing works.
    Can we just get the %&*%&$ Mail to WORK?
    What else can I do?

    Mac Mail stopped synching my inbound GMail last evening.  Was working fine for several months on 10.9.x.  Non-GMail accounts worked okay.  Connection Doctor was all green.  Restarted Mail and the laptop a few times.  Tried Safe Mode, repaired permissions and system disk.
    There's a link to Google support at the bottom of the Mail > Preferences > Accounts window so I clicked it, poked around and found this troubleshooting suggestion on the Known Issues page a few minutes ago (link is below):
    IMAP client stopped syncing mail from the server
    If you are experiencing problems with your IMAP client, try changing the visibility of “All mail” and “Drafts” labels from the (GMail web) settings:
    Click the gear icon in the upper-right and select Gmail settings on the top of any Gmail page.
    Select the Labels tab.
    Ensure that the "Show in IMAP" checkbox is selected for both "All mail" and "Drafts".
    Neither of these were checked as I didn't want "All mail" sent down to my Mac.  But changing these settings caused unsynced mail to be delivered.  Permanent fix?  Who knows?  Thought I'd mention it though.
    https://support.google.com/mail/known-issues/14973?hl=en&ref_topic=3394215

  • 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

    I don't think we'll ever have a "best of both worlds" Doug. I've used Gmail since the week it launched the first beta in 2004, and it's always been a bit of a love-hate relationship for me (mostly love). With the demise of the Google Notifier for Mac, I went with Mailplane, but even it has problems. Like when I see my iPhone update with new mail and I'm looking at Mailplane and it won't update at times with even a forced refresh. I often have to close/reopen it to see new messages. But, it's hard to live without my Google Calendar only a tab click away, one of the primary reasons I use Mailplane, that plus changing view zoom sticks with Mailplane and won't with Gmail.
    For years I've thought Gmail labels were the perfect filing solution, but over the past few weeks I've been analyzing just how much I really use that feature, and for me...it's not all that much. I think I could simplify my life by putting everything into appropriate folders (as in all other email apps). Apple doesn't realize just how much money they're losing by not allowing people to use private domains with iCloud mail...which I would do in a heartbeat just because it would work perfectly with Mail.app. I would pay even more than I currently pay Google for this solution with Google Apps Business. So, I'm actually on the verge of moving my private domain to the best email service I can find and then using it with Mail.app. The problem here, of course, is I'll lose the best spam control on the planet (Gmail). So, as you say, there simply is not a "best" solution for all these things. I'll at least try a new email service first with some other domain to see how I like it before moving my primary email.
    Lastly, the other thing that incenses me is synching of flags between iOS and Apple Mail. It works fine between Gmail and iOS Mail, since all I care about is whether a message is starred/flagged or not.  But using Apple Mail, when I flag a message it will not show as flagged in their own iOS Mail, which is incomprehensible, given they built both apps.
    If you find a great solution or discover anything new...please post it here, Doug. Thanks.

  • Mavericks Mail update (build 1822): constant folder syncing with Gmail IMAP

    The Mail update to build 1822 seems to fix previous major problems for Gmail IMAP.  I've changed my Gmail settings (on the Gmail side) back to my original setup: "All Mail" now is turned off for display in the Mail client. That allows me to search messages and see search results in Mail that show the folder in which search result messages reside...instead of "All Mail" for every message matching the search criteria, as it showed when "All Mail" was turned on.
    Two remaining problems for me.
    1 -- Regularly and frequently, Mail goes out to the Gmail IMAP server and checks every single mail folder and syncs with them. It doesn't matter that the folders haven't been changed or that I haven't sent, received, or viewed any mail...if Mail is open, it checks and syncs frequently.  Now, very few folders have new filed messages, so bandwidth use of this behavior presumable is low...but it sure is annoying. You can see it happening by choosing "Activity" under the Window menu, and watching for a while.
    2 -- I can't change the display order of Gmail folders in the left-hand column of the Mail app display.  The order is fixed and it doesn't seem to follow any rule I can detect.  The folder display certainly isn't alphabetical or by date.
    Suggestions or insight about these two challenges are welcome.
    Thanks!

    I've got no solution on problem one (sorry for both of us), but might for problem two.
    I have four IMAP accounts in mail: 2 gmail, one google hosted app, and one Corporate.  Mavericks mail (with update) constantly checks all IMAP accounts, whether gmail or not.
    This contant IMAP freak out may be related to the solution I have for you on Gmail folder sorting. I've tried diabling the account  (in preferences), quitting mail, then restarting mail, and then re-enabling the account. Let mail finish its IMAP freak out, then drag the folders where you want them.  They may or may not appear to change succesfuly.  Wait a while (so Mail does the IMAP dance again), quit Mail, restart Mail. If it looks good great, if not, do the whole disable / re-enable account thing.  Sounds mental, and pretty much is, but it worked for me. I cobbled this together from hints on previous Mail version / IMAP problems.
    My pet theory--which is entirely unsubstantied by any evidence whatsoever--is that Mail's local cache is not being updated properly while in use, and the flood of IMAP traffic is leaving the folder structure changes in limbo until you force changes with the quit / preference change. Whatever the cause, it seems to affect non Gmail as well (for at least me).

  • My Mail.app Still Won't Work Well with Gmail IMAP

    My Mac Pro is completely updated to Mac OS X Mavericks 10.9.2, the latest update, but Mail.app still works really poorly with my gmail IMAP account.
    Mail.app sometimes fails to pick up new mail for as much as a couple hours at a time, while Mail on my iPad is having no problem.
    I've tried quitting and restarting Mail, taking the account offline and then back on, and using the synchronize command, but nothing forces Mail to pick up recent mail until all of a sudden, a couple hours later, it's working fine again.
    I'd consider switching to a 3rd party mail client, but none of them have the combination of features that I like in Mail.
    This happens at least every couple days.
    Is everyone still seeing this kind of flakiness in Mail?

    When you did the 2.1 update did it restore your backup file onto the iPhone?
    If so you may want to backup iPhone, Restore, Setup as new iPhone and see if this provides better response. Post back

  • Mail unexpectedly quits immediately with gmail imap

    I added my gmail account as imap to mail and now mail immediately quits when I open it... Now I can't get to my company mail because of this. I'd glady remove the gmail account since it appears to be the problem but can't because the app quits so stinking fast.
    anyone?

    After a lot of head-scratching, and experimentation, it turns out that the problem was with GrowlMail. Even though I had swithced Growl off, and disable the GrowlMail plugin, it still appeared to be loading, according to system.log.
    I had to uninstall Growl, and manually delete /Library/Mail/Bundles/GrowlMail.bundle. That FINALLY did the trick, and Mail appears to be working OK now.
    Once I've successfully sync'd with GMail, I'll try reinstalling Growl, and see what happens.

  • Mail with Gmail IMAP: All mail getting marked as read

    So other than being painfully slow, and just plain irritating, I have one huge problem with Mail (Tiger) and Gmail IMAP. All incoming mail is marked as read. The mail downloads, gets sorted into folders by the various rules, but the folders never show up with a number showing new messages. I have missed so many emails lately, I think I will have to go back to POP...or add a line to every single rule saying "mark as unread".
    Is there a simple solution to this problem I am overlooking?
    Thanks...Sam

    Yeah, the stupid part is that all SPAM comes marked as unread. So I get to see that I have spam, just not legitimate mail. Ugh.

  • Apple Mail not working with Gmail IMAP

    This is a slight re-working of a post of 27 March as I am being driven nuts having to use web mail.
    I have used Mail with gMail for years. Last week I was abroad and I could only use the web interface as when I logged in from my MacBook via Mail the message pane was fine (and up to date though it did not open by default as usual) but if I opened any message all I got was 'Loading' followed by the spinning beach ball. I tried this for several days and always got the same result and assumed it was an (atypical) result of being abroad.
    When I got home I found I had exactly the same problem on my iMac which was fine before I left home and as with my MB I have to force quit to get out of Mail.
    I then when out and after a restart (not the first since the problem) that my MB was OK - but only briefly. My iMac is still stuffed as far as Mail is concerned.
    Mail itself does not seem completely broken, for instance I can look at Previous recipients, I can send from Mail and it arrives back (but then I can’t open it). I can drag messages to the Bin, but they don’t seem to stay there. Oddly I have sent a lot of mail from the gMail interface today, but none of them show up in Apple Mail, tho earlier days do.
    I do have a lot of messages in sent mail, nearly 6,000, and while I can understand it progressively slowing things down I don’t see that it would cause both machines to fail simultaneously and anyway I don’t want to delete them.
    Any ideas? There are no error messages, Connection Doctor shows me as logged in, and I have not found anything via a Google search or in their discussions.
    Cheers, Colin

    Opps, the * was an OCR error from the screen dump I did not notice.
    plus.net is my ISP, but I don't use them for mail normally but I suspect once-upon-a-time I may have had a problem connecting with gMail's SMTP server, so set that up.
    I'm actually running Mail 3 (I think the latest version for Leopard, incidentally gmail help is only up to v 2).
    Rather than delete the other servers I have set it to only use smtp.gmail, but it still hangs on opening a message pane. Oddly even tho I get the beech ball I can still open prefs.
    I can't help feeling the problem is with Mail itself (tho why on two machines at once is beyond me) as the normal behaviour is always to open with the Message pane, but it opens without a window; almost as soon as I open the Message pane it updates with gmail and deletes any message I have moved on the web side. So, only partly broken, but broken enough to be useless!
    Cheers, Colin

  • A different sort of problem with GMail IMAP on Mail.app (Tiger)

    I setup my GMail account using IMAP under Mail.app (Tiger). At first it worked fine. But now it just hangs when I go to the Inbox. I get the clock or pie or whatever that is next to Inbox. In the Activity Monitor I see...
    [[email protected]] Performing pended
    Copying Message
    [INBOX - [email protected]] Opening mailbox...
    Opening mailbox...
    I have let these sit for hours (we're talking over 12) and it gets nowhere. I have removed the account, deleted the associated files under ~/Library, recreated and it just comes back. I can use Thunderbird without any problems at all.
    Any ideas what might have happened? I did uncheck saving drafts, trash, and junk on server as Google suggests.

    Try this to determine the scope of the problem:
    1. Go to Apple Menu > System Preferences > Accounts and create a new user account for testing purposes.
    2. Either log out of your main user account or just quit Mail so that it does not interfere with the other user account.
    3. Log in as the newly created user and set up the Gmail IMAP account there.
    4. Check whether the problem also happens when logged in as another user.
    <hr>
    Do you have any Mail plug-ins or system utilities that could interfere with Mail? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/StartupItems/
    /Library/LaunchDaemons/
    /Library/LaunchAgents/
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/LaunchAgents/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/StartupItems /Library/LaunchDaemons /Library/LaunchAgents /Library/InputManagers /Library/Mail/Bundles ~/Library/LaunchAgents ~/Library/InputManagers ~/Library/Mail/Bundles
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Apple Mail, iPad & iPhone mail with GMail imap

    Hi,
    I'm using a MacBook Pro 13", a iPad 4 (actual retina) and an iPhone 4.
    I have issues using apple mail with my Gmail imap account :
    Only the inbox seem to be fully compatible with every device I use, but the outbox, for example, seem not to be the same box on all device.
    when I send a mail from my MacBook, the sended mail doesn't appear in the Mail's classical outbox but in a sub-box of Gmail box on the bottom, and I can't find any trace of the mail on iPhone/iPad.
    Is there anything I can do to make that I have the same Inbox, Outbox, Draft, Spam and Trash boxes in all my device and server.
    I tryied with iCloud mail account and this works perfectly !!
    If it's not possible, is it possible to set my icloud mail account to be with my own domain name as it is on my Gmail acount ?
    thanks

    On iOS, there is no local configuration for the Sent Mail. for Gmail, it automatically goes to the Sent Mail folder. But Sent Mail only shows up when you tap Gmail under the Account setings, not in Inboxes. For OSX, however, you may be able to configure a designated folder (that can be either on the local machine or on the account server). To be honest, I can't recall where that configuration is, and do not have the MBP in front of me. This article may help (or provide links to instructions: http://support.apple.com/kb/HT5361

  • Apple Mail STILL does NOT sync with GMAIL...even with Mavericks 10.9.2...why?

    Apple MAIL still does not sync well with Gmail.
    I have to close Apple Mail program down, re-load it, select "synchonize all accounts." Then MAYBE it will finally sync up. If not, I do this again and again. Then, randonmly it seems, it finally syncs.
    My iOS devices sync instantly and accurately 100% of the time. When I pull down the inbox to update, it does so almost at once. Accurately.
    WHY does Mavericks APPLE MAIL have so many issues STILL!? Worked fine before Mavericks? Is there a solution?
    Mike

    I'm not sure if you were seriously asking or just looking for a place to vent, but I've read a lot about this topic and so I'll give a brief reply.
    Unfortunately, I've not seen a solution to this problem. Many people have had success with various "voodoo" solutions (re-starting or some variant) but there's really been no reliable, consistent answer to this problem. Most people seem to think that syncing was improved (but was not completely fixed) with the 10.9.2 update. The only "solution" I've seen is to move off of GMail.
    As to WHY this is happening, well, again I've not seen anybody diagnose the problem in any scientific way, but the consensus seems to be that this problem started because Apple modified the way the Mail program stored and indexed a GMail account. Many people (including you) say "it worked fine before" and yes perhaps it did, but there was a big problem lurking.
    As you might know, Google moved off the mail standard when they created their mail system. Now, this is a rant for another post, but IMO by doing that they should have provided code for 3rd-party mail clients to use their new mail system properly. But of course that would defeat any competitive advantage their own client had, so instead all they did was support an IMAP interface.
    The problem is that when an email arrives at your GMail account, it is in your Inbox and also in the "All Mail" folder. This is not in concert with IMAP protocol where a message is only in one folder. So a naive IMAP email client downloads such a message twice. If a message happens to be in a several folders (tags in GMail-speak), an IMAP client downloads it several times. It might have looked like it was "working fine" to you, but for people who have many gigabytes of mail, this duplication is a big problem.
    Likewise, if you search for an email, an unaware IMAP client will find it in multiple folders, and report back each copy. Anyway, you get the idea. Apple tried to improve their Mail client to support this, and unfortunately they have a big bug. Well, I say "big" because it really annoys me. Apparently it must be not be affecting a large percentage of Mavericks users or else they would have fixed it by now. Even more annoying, there's no "switch" to get Mail to act like a dumb IMAP client again. It appears to detect that it is talking to GMail and this new system kicks in automatically. (Perhaps this could be tricked by using some kind of proxy?)
    So why is this not happening on iOS? Well, again, nobody knows for sure (and Apple isn't saying), but the theory is that they didn't implement this complex scheme on iOS (yet). Maybe they were first testing it out on Mavericks, or perhaps they didn't think it was worth the trouble because on iOS the Mail caches are typically much smaller. On a desktop machine, usually there is a copy of all your IMAP mail sitting on the disk. On a mobile device, only a few messages are kept around at any time.
    Sorry I don't have more info to give at this time. Good luck.
    Bark.

  • Mail does not work properly with gmail

    Hi everyone. I am a very recent switcher and the switching process was great and extremely easy, but there has only been one problem that I can't seem to solve. Getting Gmail to work with Apple Mail. I followed all the steps on gmail's website on, how to set up gmail for POP, and how to configure Apple Mail to work with gmail, but I still can't get it to download all my emails. It only downloads some old emails, marks them all as unread, and then doesn't act like I have any other emails(which I do). Under system preferences, I have the account type labeled as POP, the incoming mail server set to pop.gmail.com, my username and password set, and the smtp box set to smtp.gmail.com. Under server settings I have the server port at 587, the ssl box checked and the outgoing mail server as stmp.gmail, like I said before. Under the advanced tab of the accounts section of apple mail preferences, I have the account enable box checked, the include when automatically checking for new mail box checked, and down at the bottom, I have the port set at 995 with the ssl box checked. In gmail, under my forwarding and POP settings, I have it set, under the POP download section to: Enable POP for all mail(even mail that's already been downloaded). Also, the status is set to "POP is enabled for all mail that has arrived since 10/13/05(which was when i first got my gmail account). Like I said before, Apple Mail at first starting downloading all the mail in my gmail account and then stopped after about 1000 to 2000 messages which only got it to about mid-2006 or earlier. Yes, I've run software update recently, too. Does anyone know why it would not dowload the rest of my mail? All help is very greaty appreciated. Thanks.

    I just put my gmail account in Apple Mail and it works fine - even transferring my old gmail messages. Maybe your problem is STORAGE - see this from Mail Help:
    About .Mac Mail
    .Mac Mail works with existing email clients like Mac OS X Mail, Outlook Express, and Netscape Communicator.
    You can also check email when you're away from your own computer. All you need is a computer with an Internet connection and a supported web browser to check your .Mac Mail. To access .Mac Mail on the web using Mac OS X version 10.3 or later, use Safari 1.2 or later or Firefox 1.0.1 or later. If you're using Microsoft Windows XP, use Firefox 1.0.1 or later or Internet Explorer 6 or later.
    Use POP or IMAP protocol to suit your working style and set up automatic email forwarding or replies.
    Your email address is your .Mac member name followed by @mac.com, and the password for accessing email is the same as your member password.
    Note: AOL recently added support for IMAP, so you can now read your AOL mail using Mac OS X Mail. You cannot use AOL's email program to read .Mac Mail messages directly, but you can set up your .Mac Mail account to forward email to your AOL account.
    .Mac comes with 1 gigabyte (GB) of combined email and iDisk storage. .Mac trial members and email-only accounts get 50 megabytes (MB) of storage; Family Pack sub-accounts get 256 MB. You can designate storage space to your .Mac Mail account and your iDisk. For example, if you need more storage space for your email messages, you can set your .Mac Mail storage capacity to 800 MB and reserve 224 MB of storage for your iDisk. You can also increase your combined email and iDisk storage to a total of 2 GB or 4 GB by purchasing more storage. (If you have a trial account, email-only account, or Family Pack sub-account, you cannot increase your storage amount.)
    Your .Mac Mail storage is automatically set to 512 MB unless you change it. You can't assign less than 15 MB of storage to your .Mac Mail account.
    .Mac comes with 10 GB of data transfer per month and a 10 MB maximum message size. You can increase your monthly data transfer limit up to 250 GB per month by adding more storage space to your .Mac account. You can also purchase up to 10 additional email accounts. (Email-only accounts get 50 MB of storage space but no additional .Mac services, and Family Pack sub-accounts get 256 MB of storage space, but cannot purchase additional email accounts.)
    If I had 2000 emails on my computer I would shut it down and never turn it on again.

Maybe you are looking for