Adding basic write functionality to the account class to facilitate mail...

I am writing a small utility using your library to facilitate automatic import/export of e-mails, needed a bit more of imaplib exposed.

I could integrate the functions in this library for importing/exporting with compression to file and mongodb if you don't feel it's outside it's scope.