I'd like to create a Gmail filter that combines the To and From fields with an AND. The default behavior seems to combine these fields with an OR.

For example, the below filter will return results of emails either from dude@email.com OR to guy@email.com.

enter image description here

Unfortunately this is not what I want. I would like to filter emails only from dude@email.com AND to guy@email.com. The filtered emails can't just reference one of them - it has to be both.

So far I've tried writing it out in a search like this:
from:dude@email.com AND to:guy@email.com

But that just yields a filter like this: enter image description here

All that did was put 'AND' in the "Has the words" field.

How can I specify a filter so that both conditions are satisfied (and not just one of them).

  • What are the results you get? Which emails are not included? What are the ones you find have in common? Oct 28, 2020 at 18:23
  • Some emails are from dude@email.com. Some emails are to guy@email.com. Some are from dude@gmail.com and to guy@email.com. I only want the latter Oct 28, 2020 at 18:43

1 Answer 1


Please try the following filter in the Includes the words field, leaving everything else blank.

The results will be ALL and ONLY the emails from:dude@email.com AND to:guy@email.com

{(from:dude@email.com) AND (to:guy@email.com)}

enter image description here

  • I will try to let you know if this works after getting some emails. Thank you 👍 Oct 28, 2020 at 19:42
  • I thought you already had some. :) So we were looking for non-existing emails? Then how did you get the results here and here? Anyway... Please remember that as per site guidelines when an answer addresses your question, accept it so others can benefit as well. Oct 28, 2020 at 19:57
  • Sorry - I do have existing emails. I was in a rush with my previous comment and misspoke. The problem is that your filter isn't behaving as expected. I'm trying to figure out if I specified the problem incorrectly or if your solution doesn't work. When I'm done with that I'll let you know Oct 28, 2020 at 20:46
  • Hope you get it right. Oct 29, 2020 at 2:44

Your Answer

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

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