I "pull"/"import" messages from another, non-Gmail email account ([email protected]) into my Gmail account ([email protected]).

I want to search for messages that are from either of two sender addresses ([email protected], [email protected]) but were not addressed to [email protected]. Optionally also not as BCC or CC, but that is not my priority.

I tried the following and variations of:

from:([email protected] OR [email protected]) -to:[email protected]

(please notice the - as the NOT operator.)

but the Gmail search still returns emails originally sent to [email protected]

I cannot use -([email protected]) because [email protected] might be mentioned in an earlier email somewhere.

Would anyone please have a solution to my quandary? Thank you!

  • Can you clarify that this is a pop account you are pulling mail from?
    – Blindspots
    Commented Oct 15, 2022 at 9:52

1 Answer 1


I think that you must be introducing a typo in your search. Please make sure you are not using curly brackets {} as you did in your question

"I cannot use -{to_name@to_domain.com}"

Curly brackets are OR in Gmail so

from:([email protected] OR [email protected]) -{to:[email protected]}

would not exclude to:[email protected].

Your search should be

from:({[email protected] [email protected]}) -to:([email protected])

or a variation thereof and it will work.

{from:([email protected]) from:([email protected])} -(to:[email protected])


from:([email protected] || [email protected]) -to:[email protected]


Please also note that Gmail can automatically apply a label to imported mail which gives you another easy way to filter: -label:notGmail

Your Answer

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

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