Has anyone figured out how to get Gmail to stop processing filters once a condition is met? I would like to avoid having certain messages potentially get multiple labels. As great as Gmail is, the filtering option is quite primitive.
3 Answers
This sort of answers my question. You can't stop filters from processing once a condition is met, but you can add a filter to filter messages that have been filtered, which will do in my case.
-
1This was helpful. I have a variety of messages coming from the same email address but with different text in quotes in the From header. I set up rule #1 to apply the label "noise". Then I set up rule #2 to exclude messages with that label (with -label:noise) and apply its own label. Feb 5, 2013 at 14:22
If you label your messages in previous rules, you can use "has:nouserlabels" condition in further rules to exclude already processed.
You could use NOT
functions in your filter.
Say you have a, b and c as keywords for your labels:
filter1:
a
-b
-c
> everything from afilter2:
-a
b
-c
> everything from bfilter3:
-a
-b
c
> everything from c
but of course, this is a hassle in case of many filters
-
This is fine if you only have a few filters, but if you have say 50, putting in those not conditions becomes unwieldy. May 12, 2022 at 5:05