Filter Messages Based on Phrase with Number in Content
So every day I get an email and it contains the phrase "Total Scrubbed Deferred: X". X represents any integer. The phrase may appear more than once in the same email, but not more than twice.
My objective is to have the emails that are received where X is = 0 simply be marked as read. For those where X is > 0 receive an alert window with whatever that day's phrase is. For example, if today's email reference "Total Scrubbed Deferred: 2" and further down "Total Scrubbed Deferred: 1", the alert window would show "Total Scrubbed Deferred: 2" "Total Scrubbed Deferred: 1".
I apologize if this is something that has already been answered and if so, I would appreciate someone pointing me in the correct direction of the solution. If this is a new question, thanks in advance to anyone for your assistance.
|