I was using a gmail account. Now my TL deleted that gmail account. I was using mozilla thunderbird as mail client. Also it got disappeared from my mozilla thunderbird . but I found that all those mails are stored in .thunderbird folder. How can I restore all those mails? Its stored in .thunderbird/6s4amxw6.default/ImapMail/imap.googlemail.com/INBOX , an XML like file.How can I recover mails from that file?
Follow these Steps
1) Turn off Thunderbird
2) Using your OS, copy the file Trash and the file with the same name as the folder in which those messages were last to a safe location outside your profile
4) Restart Thunderbird and import the resulting .mbx files using the MboxImport extension
To work in your profile, if you are using Windows, you need to set Windows to "View hidden files and folders" and to not "Hide extensions for known file types".
For more info refer here
Hope it helps