I'm trying to write a script (hopefully using Perl) that will be able to parse through certain messages in my inbox and grab specific chunks of content. Writing the Perl code that can get the content that I need isn't the problem, but getting to the actually messages in the inbox is.
I've found the inbox.mbox file that holds the information on the email messages in my inbox, but I haven't been able to find out the file format. Is there a way to open this file to view its contents? If I can see the 'layout' of the file and how the email messages are identified, I can use Perl to parse the file and grab the information that I need.
Any suggestions? Perhaps a better approach to accomplishing this? Thanks.