add imap dependency for mailhandler