Showing results for 
Show  only  | Search instead for 
Did you mean: 
Making moves
Status: New idea

I think it would be extremely useful to be able to add Message Filter Rules with the ability to use AND OR operators.  Currently, the closest thing to this is "Match any of the following", but sometimes I want to be able to filter depending on if X is true, or Y and Z are both true, not just X or Y or Z are true.

Status changed to: New idea
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

New member

Just to add to this idea, I have a use case where I get emails from a global service "Amazon" for example and I want to sort all things related to orders into a folder, so I have an additional rule of "Subject - contains - Order", but because I order from different countries when I'm working or visiting, thus have an Amazon account in that country I want to add an additional "Subject - contains - Pedido".

This is also very common for food delivery apps and the likes, an example of two emails both getting sent to the same folder for the same reason, but the language is different would be:

> From: Just Eat - Subject: Tu pedido ha sido aceptado
> From: Just Eat - Subject: Your order has been accepted

Currently this would require two rules of "Move Orders to Food Orders (English)" and "Move Orders to Food Orders (Spanish)".

If I was able to just create a submatch of the subject where I can specify that this would be an OR case, I could condense this down to "Move Orders to Food Orders".


New member

It is long overdue to introduce logical operators. I cannot understand why this extremely useful functionality, which has been suggested by users in many places in the past, has still not been implemented. Perhaps the new suggestion will help 🙂

Thanks nose_gnome

New member

For now, what I do is

- create several filter rules adding the same tag to the emails I want.

And then I do whatever I want (in my case a virtual folder) with the condition "contains this tag".

A boolean search would be very helpful indeed.