Help!!
I run Thunderbird in Linux and deleted my "all mail" folder, thinking it was duplicating the other folders. Then discovered I had deleted every email on my computer. How can I recover them?
Also - I have folders labelled "inbox" "all mail", "important", "starred" and "junk", " "trash" & "spam". Clearly this is creating a lot of duplication, so how can I remove some of these folders?
If you've deleted all messages in your All Mail folder via an IMAP client, they should still be in your Trash folder unless you've emptied that folder subsequently.
Through the webmail interface you are also able to select which folders should show up in your IMAP client.
For someone facing the same kind of issue, I also had accidentally deleted emails from Thunderbird and later realized I require them. I came to know that Thunderbird does not actually deletes the messages but mark them for deletion and deletes them only if we compact the database. If you have not compacted the database, you may refer to article: Undelete a message - MozillaZine Knowledge Base for undeleting messages.