Not knowing what’s really going on here, and since re-creating
Envelope Index apparently didn’t work, you may try setting up Mail again from scratch, as follows:
1. Quit Mail if it’s running.
2. In the Finder, go to
~/Library/. Move (not copy) the entire
Mail folder out of there, to the Desktop.
3. In the Finder, go to
~/Library/Preferences/. Locate
com.apple.mail.plist and move it to the Desktop.
4. Open Mail and set it up again from scratch. If given the option to import existing mailboxes or something like that,
don’t. Just enter the account information and check that everything works fine.
You’ll have to re-configure all your settings in
Mail > Preferences. For spam-related security reasons, the first thing you should do is go to
Preferences > Viewing and disable
Display remote images in HTML messages if it’s enabled.
5. If Mail works fine now, do
File > Import Mailboxes, choose
Mail for Mac OS X as the data format, and follow the instructions to import your mail from the old Mail folder that’s now on the Desktop. Import the
Mailboxes folder first, then each of the
POP-username@mailserver account folders.
As a result of doing the above, some messages may be duplicated now. Andreas Amann’s
Mail Scripts has a
Remove Duplicates script that may help to fix that.
Do with the imported mail whatever you wish. You may move the messages anywhere you wish and get rid of the imported mailboxes afterwards.
If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
Ask for any clarifications or if you need further assistance.
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.