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 firstname.lastname@example.org OR to email@example.com.
Unfortunately this is not what I want. I would like to filter emails only from firstname.lastname@example.org AND to email@example.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:firstname.lastname@example.org AND to:email@example.com
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).