> IIRC, many of the mailbox modules (such as mailbox and > mhlib) are read-only, but they should provide a good starting point.
The mailbox module has recently been upgraded for full read-write access by a student participating in google's Summer of Code. It is currently under review for inclusion in the standard library. -- http://mail.python.org/mailman/listinfo/python-list