January 3, 2011
HOWTO Fix a 'Mail has undone actions' IMAP error
When using OS X Mail on Leopard with IMAP, it is possible to get Mail.app into a bad state with respect to the server. When this happens, Mail will start displaying an extremely-hard-to-dismiss dialog that resembles:
Mail has undone actions on some messages so that you can redo the actions while online.
Additional information: The IMAP command "UID COPY" (to Deleted Items) failed for the mailbox "Junk E-mail" with server error: Command Error. 10.
For the benefit of the entire Internets, here is the solution.
Close Mail.app.
Open a terminal and cd ~/Library/Mail/.
In this directory is a subdirectory that is called something like
IMAP-youremail@yourmailserver. (Or if you’re living dangerously and/or stupidly like me,Exchange-youremail@yourmailserver). cd into this directory.cd .OfflineCache/ and rm everything in this directory.
You’re welcome!

Posted by Anonymous on Oct. 06, 2011 at 7:50 AM [#]
Posted by Denise on Oct. 06, 2011 at 8:04 AM [#]
Posted by Evan on Oct. 06, 2011 at 8:11 AM [#]