wodMailbox with source code

...Provides full MIME management over mailboxes, and message parsing. You can easily access mailbox, count messages, examine messages, count parts, save attachments, look at headers, delete messages etc.. When wodMailBox opens mailbox, it expects to find there either regular mailbox just as is used on UNIX systems (one file with full mail messages one after another) or just one message inside, just as Outlook Express saves .eml files...