init the IMAP adapter