Add SelectMailboxByFlag.