[Message](http://docs.python.org/2/library/mailbox.html#mailbox.Message) has everything we need, and we're going to have to use it for exporting mbox files anyway...