The 'or' function in Gmail is represented by 'OR,' and the 'not' function is represented by a minus (-). You also can use quotes (" ") to specify an exact phrase. From the Gmail help page on Boolean operators.


Go to the list of filters in Settings, edit the filter you want to run, don't change anything, and before you click Update filter, check the box that says "Also apply filter to [x] matching conversations". Be aware that this will affect all conversations that match the filter, not just conversations with the Inbox label.


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") when where calendar who organizer As a filter: From: To: Subject: "invitation" OR "accepted" OR "rejected" OR "updated" OR "...


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 ...


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 ...


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


Yes. See the note on point 4 below. Gmail's filters allow you to manage the flow of incoming messages. Using filters, you can automatically label, archive, delete, star, or forward your mail, even keep it out of Spam. To create a filter Click the down arrow in your search box. A window that allows you to specify your search criteria will ...


To search for email sent only to you and not to a mailing list, for example, you have to add the following to the search box (and then you can create a filter using that search; there is a link in the expanded search box that says "Create filter >>" or something): To:me AND -* This means it'll search for email sent to "me" (that's you) and not to everybody ...


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


Sorry, we do not currently have functionality that allows you to use different kinds of stars with filters.


From the "About Gmail Search" documentation: Gmail doesn't recognize special search characters like square brackets, parentheses, currency symbols, the ampersand, the pound sign, and asterisks. As you appear to have already discovered, and my quick tests appear to confirm, this seems to include the exclamation mark character. I would assume that the ...


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)


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)


I actually just figured out a workaround using a different filter. With credit to this post, the way to do it is to filter the text in the email header, which includes the me@business.com address it was originally addressed to. So I created this filter in the "has the words" field: deliveredto:me@business.com And had that filter apply the Business label.


Not directly, no. You need to set up a mailing list, such as on Google Groups. (Really it could be any of a number of services. The key is that there is a single email address to use that will send all messages sent to it on to member email addresses.) However, there's a bit of setup involved and your syndicate members will need to do a little work as well....


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 ...


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, ...


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


This can be fixed by using the Inbox settings page and uncheck the option to have important mail ignore filters.


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 ...


With the help of Google Apps Script, you can use regular expressions in Gmail to find messages that have the exclamation mark in the subject. The same script can be extended to apply Gmail filters to messages that match the expression. Update: Here's the snippet of Apps Script that should help you find the relevant messages: var pattern = "^!"; var ...


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


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 ...


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.


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


Google has the operator has:nouserlabels now. It works like a charm for what you want to do. I don't know why it was so difficult to find for so long. Maybe it is fairly new.


Gmail shows a preview of the messages that the filter will apply to during the filter setup I'd encourage you to review the results in the future to make sure they are what you expect. Unfortunately at this time it is not possible to revert a filter after creation, but I'm passing along your feedback. If you haven't already, make sure to delete that filter ...


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


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

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