60

Ever since the recent Google Calendar changes, I've found this updated filter to work best. As a search: subject:("invitation" OR "accepted" OR "rejected" OR "updated" OR "canceled event" OR "declined" OR "proposed") when where calendar who organizer As a filter: From: To: Subject: ...


45

go to https://script.google.com and create a new Google Apps Script select the "Create script for Gmail" option this will create a script project this will create a script called Code.gs this will create sample functions, one them named processInbox save the project customize the script and test it until you are satisfied find the "custom project's ...


44

To my surprise, the solution to me was using the vertical bar | between emails instead of the comma , in the TO filed during filter creation. Example: name1@domain.com | name2@domain.com | name3@domain.com` The search box would look like: to:(name1@domain.com | name2@domain.com | name3@domain.com) I got a popup message from Gmail saying that using ...


30

For those looking to filter all calendar proposals (no updates) from:(-me) {filename:vcs filename:ics} has:attachment


26

Also apply filter to xx matching conversations. option is available next to search filter in gmail


24

Gmail accepts several syntaxes: apple OR orange apple | orange {apple orange} Personally, I like to use the curly braces because it is nice and concise. The following are all equivalent: from:{john jane joe} {from:john from:jane from:joe} (from:john OR from:jane OR from:joe)


22

Unfortunately, you probably can't do what you want. From About Gmail Search Gmail doesn't recognize special search characters like square brackets, parentheses, currency symbols, the ampersand, the pound sign, and asterisks You'll need to find some other unique information about the messages you want to filter. (Advanced Search Operators)


21

The post from artlung has the right idea (the easiest way to do this is to edit the filters as XML), but the XML code he posts actually does not do what the original poster requested. The original poster requested to have a single filter that applied two different labels. That is, the original poster wanted to apply two labels to the same email message, ...


20

Use the minus sign to make a negative rule. You can also string rules together by just leaving a space between separate rules. For example: from:name@company.com -from:name2@company.com or you can do things like is:unread -in:spam -in:trash


17

Gmail search doesn't support wildcards, partial words, or regular expressions. By extension, then, neither do Gmail filters. (Some information from Google Support.) @example.com will work because @ is a word separator. But @example will match @example.com but not @examplexyz. Some related questions here: Gmail filter with regular expressions Filter field &...


16

Edit your filter and check the "Skip the Inbox (Archive it)" option in addition to your "Apply the label" action.


15

Filters seem to ignore the "Skip Inbox" option if the message is otherwise marked as "Important". Possible ways to resolve this are: Mark the messages as being "Not Important" and Gmail will eventually learn that these are not important Update your filter to turn on the "Never mark as important" option. Or you can tell Gmail not to predict importance on ...


13

I have two filters, A and B, and two labels, A and B. If filter A is applicable to an email then I wanted label A to be applied to the email and for that email to skip the inbox and be archived. I also want to do the same thing with filter B, but I don't want label B to be applied if label A has been applied. It turns out this can be done. In filter B ...


13

Googles help article 7190 lists the search operators you can use in Gmail. This article lists the AROUND keyword mentioned by RADA. Currently, using the * (SHIFT 8) also works. I use it as *=AnyTextHere. e.g. "Ticket* for user" find Ticket 1 for user and Ticket 2 for user and Ticket 1000 for user.


11

The workaround I use to do this is to apply labels to filtered messages. From Gmail >> Settings >> Filters you can edit the behavior of existing filters (or new ones) to include "Apply label", once you check that box you can assign an existing label to the filter or create a new one. This way you can see what filters apply to a given email both inline ...


11

Perhaps the simplest way is Has the words: "google.com/calendar"


10

In my case I had lots of rubbish in the All Mail folder, mail that should have been deleted but accumulated there for some reason. I wanted to get rid of it without touching anything that was labelled including the nonuser labels. This did the trick: has:nouserlabels -in:Inbox -in:Draft -in:Sent


10

Alias = mirror of the original or main email address. Therefore the disk space is shared between the two. Good explanation over here. An alias is essentially just a nickname for a mail account. The alias itself has no mailbox and all mail sent to it will be delivered to the mailbox it is mapped to.


10

Instead of separating multiple email addresses with a comma, you should separate them with OR, as per this Gmail help document. Matches: from:(s******9@icloud.com OR s*******9@gmail.com OR s*******m@yahoo.com) Do this: Delete it


10

You need to filter on the delivered-to header. Fortunately, Gmail allows you to do that. Use the advanced search flag in the "has the words" field for your filter. For example: deliveredto:layke+blind@example.com You can probably even shorten it to deliveredto:blind but you may get too many false positives. I have a few similar filters for just this ...


9

You can group them: {"Words1" AND "Words2"} OR {"Words1" AND "Words3"} etc...


9

You could always negate your existing filter - I assume it's in the form from:(address1@gmail.com OR address2@gmail.com) and so on. If that's the case: Disable the setting that is forwarding all your mail (Settings > Forwarding and POP/IMAP > Forwarding > "Disable Forwarding"). Create a new filter that looks like the following (notice the dash before from:):...


9

Short answer Instead of using Gmail Filters that depends on the Gmail search feature to search for the encoded emojis in the orignal messages, create a script using the GmailMessage::getRawContent() method of Google Apps Script to process the messages. Related questions The following are links to answers to similar questions in this site including scripts ...


8

Sure there is! When you're reading a mail you want to auto label hit the [More ▼] button and choose "Filter messages like these" Set your criteria and click the "Create filter with this search »" link to choose your Label


8

You can use brackets like this: ((word1 OR word2 OR word3))


8

The TO:myemail@myemail.com will return all messages sent to myemail@myemail.com, including those where myemail@myemail.com is CCed (or BCCed in case you send the e-mail, since you can see the BCC). Use TO:myemail@myemail.com -CC:myemail@myemail.com -BCC:myemail@myemail.com instead. (the 'not' function is represented by a minus -) Parenthesis are only ...


7

If the word(s) has(ve) spaces in them, we enclose with double quotes like (("An Apple" OR "Three Apples"))


7

Under Settings (click the gear in the top-right corner), Account, look under the section titled Check mail from other accounts (using POP3):. Next to the account, select Edit Info. You should see options to label messages coming into that account with a label. If you check "Archive income messages" the messages will skip the inbox, as the description states....


7

Within the Gmail filter, for Size, choose "greater than 1 Bytes". For action, choose "Mark as read."


Only top voted, non community-wiki answers of a minimum length are eligible