Gmail – How to Exclude Chat When Applying Label via Filter

gmailgmail-filtersgmail-labels

I want to create a filter in Gmail that has the rule
to:me -cc:me but I only want it to apply to emails, not Hangouts chat messages.

When I try to include -in:chats in my filter Gmail warns me that this will not work…

Filter searches containing "label:", "in:", "is:", date range (e.g.
"before:" or "after:") or stars criteria (e.g. "has:yellow-star") are
not recommended as they will never match incoming mail. Do you still
wish to continue to the next step?

Is there some other filter criteria that I can use which identifies the message type as email only?

Best Answer

You can follow this url. Basically, if you use the advanced filter option, you can check the box that says "Don't include chats".