Originally Posted by
baberpervez 
If your emails aren't opening or..
.... if you can read the subject on the emails BUT the contents of the emails are blank....
.... or if you get a message when you click on your emails that says "cannot download from the server"
Then you may have a corrupt mail preference file.
This can result from interruptions in indexing and other erroneous computer errors.
I recommend the following solution:
1) back up your entire mail folder.
Method a)
To do this *using Mac OS X 10.5.4" you can select all your mailboxes (one my one - or by multiple selecting all of them) and click on "archive mailbox" located in the "mailbox" menu on the top.
It will ask you where you want to save your mbox files. You are welcome to choose whatever location you like. Although at this point it would be wise to create a new folder that is labeled "My Old Mailboxes".
Method b)
An easier way to backup your entire mail folder is to:
QUIT MAIL
Then simply go into Macintosh HD/Users/YourUser/Library/Mail ....
Grab the entire "Mail" folder in your Library and move it to your desktop.
Also go into Macintosh HD/Users/YourUser/Preferences/ and locate the file com.apple.mail.plist and also drag it to your desktop.
Both this folder "mail" and the "com.apple.mail.plist" are now your backups. Keep them safe as they are your originals.
(At this point it's important to point out that the com.apple.mail.plist is probably the corrupt culprit but if you want to retain all your information you MUST keep this file intact along with the "mail" folder as is.)
2) once you have backed up your entire mail through the above methods go ahead and launch your mail (that you had quit).
It will ask you to reset up your account.
It will then proceeed to download everything off from the server and you should be able to see all your mail.
If you want to bring back your mailboxes and other email you had all you have to do is go to "import" in the file menu and select Mac OS X Mail, and choose and locate the "mail" folder you had already saved.
It will import everything into a folder call import and you can view all the contents in it.
WARNING: IF your com.apple.mail.plist was corrupted then chances are some of the files that were saved in the inbox may also have been corrupted and are unretrievable.
But if you can see the files and read everything in them you are in luck.
BAsically what we have done is 1) saved your files and then 2) reset your mail.
The culprit was the dirty /corrupt com.apple.mail.plist which was removed.
By default Mac OS X creates a new (working ) com.apple.mail.plist when it sees that the file is not where it would be.
Hope this helps.