Initial commit. Utility functions for parsing a mailbox.