<div>
                    Hello everyone,
                </div><div><br></div><div>Is anyone familiar with a simple way to parse mbox emails in Python?  I use Mail::MBoxParser in perl and it provides a simple way to grab the bodies from the emails.  In my research online, people have suggested searching for lines starting with "From ", but this doesn't seem reliable to me.  I am using the built in mailbox module and am able to do something like:</div><div><br></div><div><font face="'Courier New'">import mailbox</font></div><div><font face="'Courier New'">for message in mbox:</font></div><div><font face="'Courier New'"><span class="Apple-tab-span" style="white-space:pre">       </span>print message['subject']</font></div><div><br></div><div>It would be great if you could do something like the following:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><font face="'Courier New'">print messages['body']</font></div><div><br></div><div>Any thoughts are appreciated.</div><div><br></div><div>Thanks, Ryan</div>
                <div></div>