If there’s a message in my Gmail Inbox that’s not written in English, chances are high that it is some sort of spam because almost all my contacts use the English language for email communication.
All foreign language emails get archives in a different folder
Now Gmail has an undocumented search operator called lang: to help you search messages in your mailbox that are written in different languages. For instance, lang:ru will show messages written in Russian while lang:zh or lang:zh-tw will return emails that contain Chinese text.
Unlike other Gmail search commands, the language search operator is not always perfect but can still help you remove most of the foreign language emails from the main Inbox very easily. For that to work, just set up a filter like this:
That may look at bit confusing but it’s actually very simple - you first ask Gmail to search all messages that are not in your native language, apply a label to these messages and then move them out of the main Inbox.
Here are the steps involved for creating a language filter in Gmail:
1. Create a new filter in Gmail and copy-paste the following in the "Has Words:" field. Make sure you remove codes for all languages that you normally use for communication.
For instance, if your get emails in English and Hindi, just remove lang:en and lang:hi from the list. Check this page for a complete list languages that can be detected by Google Language API.
2. In the next step, say "Skip Inbox" (Archive It) and apply a Label "Foreign Spam". Your Gmail filter is now ready to catch spam. You could say "Delete" instead of "Archiving" but I prefer the latter option to catch false positive, if there’re any.
Gmail’s built-in spam filtering technology is also pretty good at handling foreign language spam but this filter adds another layer of protection to the Inbox so you spend less team cleaning all the junk stuff.[VIA]
If you enjoyed this post, make sure you subscribe to my RSS Feeds !!
If you enjoyed this post, make sure you subscribe to my E-NewsLetter !!
Posted By: KirubaKaran
Microsoft Certified Professional