64

I'd like to create a Gmail filter to filter all of my Google Calendar notifications into a separate folder.

Google Calendar notifications have headers that look like the following:

Reply-To: Helen Seu <h...@g...com>
Sender: Google Calendar <calendar-notification@google.com>
Auto-Submitted: auto-generated
Date: Thu, 01 May 2014 05:25:28 +0000
Subject: Updated Invitation: Mobile design review @
 Fri May 9, 2014 3pm - 4pm
From: Helen Seu <h..@g...com>
To: "Mike Burton" <m...@g...com>, 

In particular, the email Reply-To is the user who created the meeting, and the Sender is calendar-notification@google.com.

For some reason, Gmail does not seem to allow you to filter on the Sender field of an email. Is there another clever way to filter Google Calendar notifications to a separate folder?

10 Answers 10

55

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 "canceled event" 
                  OR "declined"
Has the words:    when where calendar who organizer
Doesn't have:
  • WOW - finally a correct answer to this question. Great. – New Alexandria Oct 20 '15 at 19:58
  • 3
    ...adding a AND has:attachment help me to stay clear of personal email conversations, that carried from an automated calendar emails... (as long as they don't happen to tack on attachments, too) – Frank Nocke Nov 30 '15 at 13:58
  • 1
    This is great. I would suggest adding -Re to the "Has the words" section so you don't miss responses to event messages – IanEdington Jun 9 at 2:04
26

For those looking to filter all calendar proposals (no updates)

from:(-me) {filename:vcs filename:ics} has:attachment
  • Cool, great filters usage :) – Omiod Nov 7 '17 at 9:43
9

Perhaps the simplest way is

Has the words: "google.com/calendar"
  • 1
    Have you tested this? – serenesat Jan 10 '16 at 17:23
  • @serenesat Yes, the actual message source contains multiple references to https://www.google.com/calendar/* which may change in future but I expect that those links won't go away. – user80551 Jan 10 '16 at 17:32
  • 1
    this is simpler than all the other kludges here (but still does not catch [Update] – sds Feb 18 '16 at 3:01
5

If you want the filter to apply to all Google Calendar emails, you can use the "Has words" field of the filter and use

*.ics AND has:attachment AND ("Invitation:" OR "Accepted" OR "Declined")

I use this and it works well.

  • @Adach1979: I incorporated your comment into your answer. Comments are meant to be temporary and can be deleted at any time. – ale Oct 11 '16 at 13:52
3

Use the following filters:

  1. Matches daily agenda emails and notifications about the upcoming events: from:(calendar-notification@google.com)

  2. Matches new events, invitations, accepted, declined, updated invitations, cancelled events: "Invitation from Google Calendar" (double quotes are important).

3

All calendar invites have a file attached:

filename:invite.ics
1

Please try to filter the following... It would show all the active invitations.

invite.ics has:attachment
1

This filters all calendar related mails, nothing else is required.

Has the words: filename:invite.ics

Also, no language specifics terms are required here.

0

Now, to answer the into a separate folder part:

GMail doesn't use folders; instead, it allows you to tag messages with labels. To stop messages from being shown in the Inbox and make them appear as a separate collection with a name of your own choosing (which is what folders are for in other systems), create a label with that name, assign the label to those messages, and remove them from the Inbox.

You can create a filter rule to do this automatically when messages come in.

-1

Here's an idea:

Leave all other fields blank except Has the words, enter: View on Google Calendar.

protected by Community Apr 25 at 16:17

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.