for those of you that have ever needed to access an email stored in thundirbird from the command line while away from your machine :

ssh to your machine

go to your home folder –> cd .thunderbird
inside of .thunderbird you should see a folder with a .default extention.
cd into this folder

cd to “Mail”

at this point you should have a folder listing of all your accounts plus your local account.

cd to the account you have to find the email from

now just vi “Inbox”