refactor cosMail into one object.
Add imap::getFolders