How to Recover Thunderbird Deleted Email Account?
I was having issues sending emails and during the process of switching to IMAP, I accidentally deleted the email account which took all my folders with it. So now I have nothing. I read on the boards of a way to point Thunderbird at the folder I found in my profiles. I opened it and it appears to have everything inside.
I just don’t know how to direct Thunderbird to that file to access my folders. I should have backed it up first, but in my excitement to get emails working I made the mistake of deleting before I backed it up!
Solution for Recovery
If you have accidentally deleted one of your mail accounts by clicking on the “Remove Account” button in Thunderbird, this does not mean that your mail has actually been deleted from your computer. That mail should still exist in a child folder in the Mail folder in your profile folder. (This assumes that the account is not using the Global Inbox, in which case its mail would be stored in Local Folders.)
1. Start Thunderbird and create a new mail account, using the same email address and server settings as the account you deleted. You can do that by entering your name, email address and password in the new account wizard and press Continue. Do not use the “Get a new account” button as that is just a pitch to sell you a (new) email address/domain by gandi.
2. It will create a new account directory with a numeric suffix. For example, if your old mail account directory was pop.gmail.com it will create a pop-gmail-1.com. Use the browse button in Tools -> Account Settings -> Server Settings -> Local directory to specify the old account directory and restart Thunderbird.
3. Check the accounts inbox folder to see if it has messages. If not then you probably specified the wrong location and need to use the browse button again.
4. Its recommended you leave the account directory that you created in step one alone – it only wastes about 10KB due to several default files that Thunderbird created. However, you can delete it (after exiting Thunderbird) if it might cause confusion later on.