When you delete an email, in principle, not final. The deletion is not done until compacted the folder (to save space). If you accidentally emptied the trash, the application does not allow for an easy way to retrieve your messages, although there is a way to retrieve them, if you have not compacted the folder.
Please close the application
Thunderbird (after version 2.0.0.4) has an option to recover accidentally deleted messages, to use, go to the Edit menu and select Undo. This is true until you restart Thunderbird or have compacted the folder.
After closing the application
If it is too late to use the option outlined in the previous paragraph, there are four different possibilities to retrieve your messages. Which is best depends on how many messages you need to recover and the technical level you have.
Messages in a folder are stored in a text file with the same name of the folder and saved in the profile folder.
For example, to retrieve a deleted message from the inbox of your Gmail account:
- Get the profile folder.
- Go to the Mail subdirectory.
- In the case of gmail, go to the directory pop.gmail.com
- Locate the file called Inbox (no extension).
- Open the file in the folder you want to retrieve a text editor and find the text of the message you want to retrieve.
The message will have a header that is similar to X-Mozilla-Status: 1001. Edit the value of X-Mozilla-Status to 0, thus leaving X-Mozilla-Status: 0 and save the changes.
The next time you open your mail client, the message will appear as unread message.
Bookmarks