13 Jun 08 _ How to Recover (accidentally) Deleted Messages from Apple Mail
So, you just deleted your account in Apple’s fine Mail program and you happened to ignore the warning that explained how all messages associated with this account would be deleted (doh!). Or, maybe (like me) you didn’t realize that removing the account would delete all the Sent Messages for that account. That sucks.
Here’s how to get those messages back (note, this worked for me on Tiger OSX 10.4):
1) Don’t panic.
2) Download a trial copy of Data Rescue II. You’ll need an external hard drive with some free space, so go grab one while you’re downloading.
3) Plug-in that external drive. Open the disk image and launch Data Rescue II. Follow the instructions for performing a “Deleted Files scan”. When the scan is complete you’ll see a Mail folder that contains all your email messages. Recover it. If there is more than one mail folder, recover them all. You may need to register the program at this point as the unregistered version will only recover 5mb of data. Don’t worry, it will be the best $99 you ever spend.
4) Now you should have all the recovered Mail files in a series of folders on your external drive. Each folder holds 1,000 messages. Each message is a separate .emlx file.
5) To get those emails back into Mail you’ll need to convert them to a single mbox file. Download a copy of emlxconvert, open the disk image file and launch the program. I converted my .emlx files in batches of 1,000.
6) Now switch over to Mail and select “Import Mailboxes…” from the File menu. Choose to import data from “Other” and hit continue, and select the folder that contains your new mbox file. Mail will create a new mailbox folder called “Import”, and the messages will begin to appear in this mailbox as they are imported. It took me about 5 minutes to import 1,000 messages on my MacBook Pro (2 GHz Intel, 2 GB RAM).
7) Whew! You have now imported all the messages that were either sent or received by the account you deleted. You’ll need to repeat the import process for each mbox file you created in Step 5.
Leave us a comment if this technique helped you out!

