Archive. This is an archive of the Apple Support Community. Discussions are being restored and soon you will be able to read and post here again.

Fix Mail import failed on Mac by deleting preference files

Mail Import Failed.

An error occurred during the import.

Make sure you have available space in your Home folder and try again.


I was trying to reset my Mac because of memory problems. But before being able to use the Mail app, I got this dialog that I would need to Import Mail. Following on-screen instructions produced the above "Failed, failed, failed" dialog over and over again.

This is one of those obscure, unhelpful dialog boxes that Apple excels at.

No information on how one might go about ensuring the "Home folder" has enough available space.


Searching on the web, I came across this command line which took me to the Mail Library in which I found multiple preference files:

~/Library/Containers/com.apple.mail/Data/Library/Preferences

Before executing that, I went into System Settings (Mac OS 27.2) and deactivated the Mail on all Internet Accounts.

Then I used the above command line and erased ALL of the Mail preference files I could find.

Trashed them, emptied the trash.


Re-opened Mail, ran the "Import Mail" command again.

This time successfully.

I then went back into System Settings and re-activated "Mail" on all Internet Accounts.


Mail is now acting as it should.

Yes, Apple makes it that user-friendly!


0 replies

There are no replies.