MailHandler connects to imap and sets imapidle on folders