add ability to shim in alternate IMAP libraries at construction