Higher-level tools for manipulating IMAP folders