creating imap-reader