102

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 <[email protected]>
Sender: Google Calendar <[email protected]>
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 <[email protected]>
To: "Mike Burton" <[email protected]>, 

In particular, the email Reply-To is the user who created the meeting, and the Sender is [email protected].

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?

2

11 Answers 11

89

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:          "invitation" OR "accepted"
                  OR "rejected" OR "updated" OR "canceled event" 
                  OR "declined" OR "proposed"
Has the words:    when where calendar who organizer
Doesn't have:
3
  • 8
    ...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 N
    Commented Nov 30, 2015 at 13:58
  • 3
    This is great. I would suggest adding -Re to the "Has the words" section so you don't miss responses to event messages Commented Jun 9, 2019 at 2:04
  • Spelling fixed. Commented Sep 18, 2023 at 9:11
52

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

from:(-me) {filename:vcs filename:ics} has:attachment
2
14

All calendar invites have a file attached:

filename:invite.ics
1
  • perfect, IMHO best & simplest answer!
    – FurloSK
    Commented Oct 13 at 20:25
13

Perhaps the simplest way is

Has the words: "google.com/calendar"
3
  • 1
    Have you tested this?
    – serenesat
    Commented Jan 10, 2016 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
    Commented Jan 10, 2016 at 17:32
  • 1
    this is simpler than all the other kludges here (but still does not catch [Update]
    – sds
    Commented Feb 18, 2016 at 3:01
6

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

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

I use this and it works well.

0
3

Use the following filters:

  1. Matches daily agenda emails and notifications about the upcoming events: from:([email protected])

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

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

0

Elegantly:

Includes the words: filename:.ics

Bonus: Excludes the words: first name of ceo, first name of cto etc so you don't miss the important ones 😬

-1

Here's an idea:

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

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