mail imap: fix mailbox selection