in reply to Accessing received Thunderbird emails
The Mail::Box package sounds like the tool to use for reading the content of your emails. There are example scrips as part of the distribution which are worth looking at.