Filters generation for IMAP folders