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

Emails on one account show up late

I have multiple email accounts but this one IMAP account has been problematic. Simply, new emails don't show up until either I rebuild the Inbox or wait anywhere from 10 minutes to several hours (they do appear in webmail and on my iPhone). After reconfirming that the settings are all correct, I've taken the following troubleshooting steps:


  1. I deleted the account from my Mac and re-added it, allowing it to repopulate from the IMAP server. Unfortunately this didn't help.
  2. I made a new user profile and added the account there. Here it worked better. This tells me that the problem is within my profile.


Since Apple moved control of Mail accounts into the Internet Accounts system prefs, I'm less clear on how to proceed to clear this up without affected my other email accounts (messages, iCloud, etc.). In the past I might have deleted my mail plist file and re-created those accounts. Is there anything I might try short of deleting the com.apple.internetaccounts plist file?

Posted on Jul 10, 2014 9:19 PM

Reply
Question marked as Best reply

Posted on Jul 10, 2014 10:23 PM

Quit Mail. Force quit if necessary.

Back up all data. That means you know you can restore the Mail database, no matter what happens.

Triple-click anywhere in the line below on this page to select it:

~/Library/Mail/V2/MailData

Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder

from the menu bar. Paste into the box that opens by pressing command-V, then press return.

A folder window will open. Inside it there should be files with names as follows:

Envelope Index

ExternalUpdates.storedata

Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.

Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. Click OK. Typically, the process takes a few minutes, but it may take hours if you have gigantic mailboxes. In that case, you may be able to speed things up by temporarily adding your home folder to the Privacy list in the Spotlight preference pane. Remove it when Mail has finished importing.

Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results.

4 replies
Question marked as Best reply

Jul 10, 2014 10:23 PM in response to Rey Mo

Quit Mail. Force quit if necessary.

Back up all data. That means you know you can restore the Mail database, no matter what happens.

Triple-click anywhere in the line below on this page to select it:

~/Library/Mail/V2/MailData

Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder

from the menu bar. Paste into the box that opens by pressing command-V, then press return.

A folder window will open. Inside it there should be files with names as follows:

Envelope Index

ExternalUpdates.storedata

Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.

Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. Click OK. Typically, the process takes a few minutes, but it may take hours if you have gigantic mailboxes. In that case, you may be able to speed things up by temporarily adding your home folder to the Privacy list in the Spotlight preference pane. Remove it when Mail has finished importing.

Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results.

Jul 12, 2014 6:37 AM in response to Rey Mo

Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.

Back up all data.

Triple-click anywhere in the line below on this page to select it:

~/Library/Containers/com.apple.mail

Right-click or control-click the highlighted line and select

Services Reveal

from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected foldernot just its contents—to the Desktop. Leave the Finder window open for now.

Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window.

This action will delete any custom Mail stationery that you have created. If you want to preserve it, ask for instructions.

If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:

~/Library/Containers/com.apple.MailServiceAgent

Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Emails on one account show up late

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