Moving to imaplib, added a MailManager class