Added an abstract MailStore base class for ImapClient which implements async methods