Simplify mailbox custom filtering