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.
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:
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).