minimal_imap method