IMAP downloading utility