Skip to content

Gmail: Setup email filters for Calendar invites

Rabia Shaikh edited this page Dec 26, 2022 · 7 revisions

Setup email filters for Calendar invites

Create an issue on your repo with the following text

### Overview
We need to create a filter that archives meeting cancelation email notifications so that our inbox is more readable

### Action Items
#### Set up the Gmail account with the structure you need 
- [ ] Open the Gmail account to create filter(s) in
- [ ] Create the labels you need (see resources for list)
- [ ] Go to the Setting>Filters and Blocked Addresses in your Gmail account by copying [this link](https://mail.google.com/mail/u/0/?tab=rm&ogbl#settings/filters) into your browser (if this takes you to another email address, use the instructions to get to `Filters and Blocked Addresses` through the settings tab of the email you want to use)

#### Create your filter(s)
- [ ] Click on 'Create a new filter'
- [ ] Next to 'Has the words', enter the desired query (see below for query to use)
- [ ] Check the 'Has attachment box'
- [ ] Click 'Create filter'
- [ ] Check the 'Apply the label' box 
  - [ ] Choose the appropriate label to automatically sort incoming event response messages
- [ ] Check the 'Skip the Inbox (Archive it)' box to move response messages out of your inbox. (You can still view them later)
- [ ] Check 'Also apply filter to X matching conversations.'
- [ ] Click 'Create filter'
- [ ] Repeat for each filter needed

### Resources/Instructions

#### Labels (when creating the CI labels, nest them under Calendar Invites)
- [ ] Calendar Invites
   - [ ] CI: Accepted
   - [ ] CI: Canceled
   - [ ] CI: Declined
   - [ ] CI: Tentative

#### Get to Filter tab
- [ ] Click on the Settings gear icon in the top right corner
- [ ] Click on 'see all settings'
- [ ] Click on the 'Filters and Blocked Addresses' tab

#### Queries
   - [ ] Accepted
```
invite.ics OR invite.vcs AND Accepted
```
   - [ ] Canceled
```
invite.ics OR invite.vcs AND Canceled
```
   - [ ] Declined
```
invite.ics OR invite.vcs AND Declined
```
   - [ ] Tentative
```
invite.ics OR invite.vcs AND Tentative
```