Get IMAP mails.