Mail on mac stuck 'moving messages'

I use Mac Mail for emails, synced with an Exchange account. Ever since the Catalina upgrade, when I move an email from the inbox to other folders, or when I try to delete them, the Mail app gets stuck in 'moving messages' and so I would see the movement or deletion of the message locally, but it will not make the change in the server and the change will not sync to my other devices.


I tried restarting with no success. Also deleting the account from the app and adding it again. This did solve the issue for a day and then the problem returned.


This is a recurring issue. Please help.

Posted on Jan 7, 2020 7:21 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 14, 2020 8:37 AM

I had this very same problem. I was ultimately successful by deleting the "Envelope index" files described here on Computerworld.


After deleting these files, upon the next time you start Mail, you will see a dialog that says the mailboxes need to be rebuilt. After that finishes, all was back to normal for me. Note that I did lose the "stuck" emails that were being moved at the time. In my case, I was moving emails from a non-iCloud account into an iCloud email folder.


One last thing...the article for that link is from 2014, and specifies version "V2" in the path to get to the Envelope Index. This should be "V7" for the latest version of Mail as I write this. Hope it helps.

Similar questions

159 replies

Mar 12, 2020 12:30 PM in response to DanRubCR

I have exact same problem of Apple Mail not syncing and getting stuck on "moving messages" when I try to delete any emails on my Mac. No problem with iOS Apple Mail app, only on Mac OS Apple Mail is getting stuck, not downloading messages and if I try to delete then gets stuck. The only solution is to delete the Exchange account completely and reinstall which fixes the problem for 10 minutes or so, then exact same issue! Apple needs to release a fix for this ASAP.. otherwise Outlook for Mac will be the only other viable email client :(


I am using macOS Catalina Version 10.15.3 and Apple Mail version 13.0. Emails are on Microsoft Exchange server.

Mar 17, 2020 12:57 AM in response to voltoutoftheblue

A temporary fix is as follows:


  1. Remove all exchange accounts from your Mac.
  2. Re-install all exchange accounts.
  3. Only use Mac OS Apple Mail to download, read, reply and organise emails in folders - never DELETE any email from Mac OS Catalina Apple Mail client.
  4. Only use your iOS (iPhone) Apple Mail app to delete emails from exchange server (or do it on webmail outlook access).


The "moving message" jam only happens when you try to delete emails from Apple Mail on your Mac. As long as you can avoid deleting emails from your computer, it should work fine. I have been trying this for last couple of days, working fine - too scared to try the delete button in case it gets stuck again!

Jul 25, 2020 2:38 AM in response to DanRubCR

  • I have the same issue after last Catalina upgrade - it is an issue synching folders on the Mail client to folders on the server
  • It may be the mapping of the trash folder in the client to the trash folder on the server. I'm in the UK and the last upgrade of the Mac Mail Client on Catalina changed "Trash" to "bin"
  • The problem is solely in the Mac client and is limited to one way sync from my mail client to the google server. Changes made in the gmail app synchronise to the Mac client fine.
  • I’ve tried switching which one the “bin” on my mail client syncs with by going in to Mail >> Preferences >> Mailbox behaviours

But problem still persists preventing syncing of all folders to the server. Except - I can send and receive mail.


It is this problem in the Mac support area

https://discussions.apple.com/thread/251018274

Here is a Apple support ID from another user and my support ticket ID

101014877688

101142379717 mine


Any other thoughts on how to remedy? 


Aug 26, 2020 12:30 PM in response to DanRubCR

I had the same issue and fixed the problem. The cause is that the ~/Library/Mail folder had the com.apple.quarantine attribute set after the upgrade. As a result, emails could not be moved into the mailbox files from the application. Mail gets stuck in an endless loop of trying to refile the emails and being denied permissions.


Here’s how to see if you have the problem. On the command line in a terminal type:


ls -l@ ~/Library/Mail


If it returns a list of information that contains the attribute “com.apple.quarantine”, you have the problem. The good news is that the solution is trivial. Simply type the following:


sudo xattr -r -d com.apple.quarantine ~/Library/Mail


This will recursively remove the attribute. I left the Mail application running while typing it in and before the command completed, the “Moving Messages” count went to zero.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail on mac stuck 'moving messages'

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