I use subadressing in Gmail to tag incoming message, something like name+abc@gmail.com.
Now I want to filter all messages that contains ABC
in the body but if I make a naive search for that string all messages that are addressed to name+abc@gmail.com are also found. I want to exclude all messages that ONLY contains ABC in to/cc/bcc and ONLY find those messages that contains that string in their body.
If I do -to:abc AND abc
messages to:abc are excluded even if they also contains abc in the body.
I can't wrap my head around the booleans here. Does this make sense:
if (to:abc AND not body:abc) exclude if (to:abc AND body:abc) include if (not to:abc) AND (body:abc) include
Is that possible to construct in Gmail?