Filter plain text and html parts of mails fetched from an IMAP folder based on given regexes