Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I run a choir consisting of a few friends (12 to be precise) and we tend to communicate via mass email to each other.

I want to set up a filter in GMail so that it will label all emails to do with the choir.

My problem is that filtering based on a list of who the message was sent to doesn't work because each time exactly one name will be missing from the recipient list - the email sender!

Can I set up a GMail filter that triggers if a list of addresses contains the sender and recipients?


Edit:

I could do this with a series of filters such as:

  FROM: <Person1> TO: <Person2> .. <Person12>
  FROM: <Person2> TO: <Person1>, <Person3> .. <Person12>
  ...
  FROM: <Person12> TO: <Person1> .. <Person11>

But that seems overly laborious.

share|improve this question
3  
It's not strictly an answer to your query, but you may want to consider setting up a mailing list (e.g. Google Groups), and get everyone to send mail to that address. It would make it easier to apply filters in the future, but does require opt-in from the rest of the group. – Margaret Jul 1 '10 at 8:43

3 Answers

up vote 3 down vote accepted

Ah, according to Gmail's help 'Using advanced search' I should be able to write

(from:<Person1> OR to:<Person1>) (from:<Person2> OR to:<Person2>) ...

in the 'Has the words' field.

I shall try this...

share|improve this answer
This doesn't seem like a great solution. You should be able to be: (from:group[choir]) and if the sender is in the group:choir then it should filter appropriately (label it or whatever) – Nathan Koop Jul 9 '10 at 16:15

the filter for the sender is "from:" ... combine that with the other recipients.

share|improve this answer
But I want to be able to say 'FROM or TO: <address1>, <address2> ...', not just 'FROM <address1>' and 'TO <address2>'. Is that possible? – Mark Pim Jul 1 '10 at 9:12
"FROM: a1 OR a2 OR a3" "TO: a1 OR a2 OR a3" – akira Jul 1 '10 at 9:29
That will find any email between me and any one of the people in the choir, not those between all of us. See my edit... – Mark Pim Jul 1 '10 at 10:54

Try this (OR is not needed if we enclose the email addresses within braces and just use spaces between addresses). I think that akira's answer should have solved the problem.

FROM:{sender1 sender2 sender3 sender4 sender5 sender6 sender7 sender8 sender9 sender10 sender11 sender12}
TO:{recipient1 recipient2 recipient3 recipient4 recipient5 recipient6 recipient7 recipient8 recipient9 recipient10 recipient11 recipient12}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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