14

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 3

8

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.

1
  • 1
    This 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
4

If you label your messages in previous rules, you can use "has:nouserlabels" condition in further rules to exclude already processed.

3

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 a

  • filter2: -a b -c > everything from b

  • filter3: -a -b c > everything from c

but of course, this is a hassle in case of many filters

1
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.