cleanup
Serialization of IMAP data. Implemented base64.