Skip to content

Instantly share code, notes, and snippets.

@bkeepers
Last active February 12, 2017 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkeepers/9cdea0d520bc40d741362dec6fd0c3bb to your computer and use it in GitHub Desktop.
Save bkeepers/9cdea0d520bc40d741362dec6fd0c3bb to your computer and use it in GitHub Desktop.

@kytrinyx's Gmail filters

Stick each line into the search bar, and then click the little gray down-arrow on the right hand side right before the button so you can create a filter from the search.

image

My labels are indicated with => labelname, but that's not part of the search. My labels are nested, which is handy when you want to collapse them out of the way.

The gmail shortcut for going to a label is "g l" (go to label, presumably), and you don't need to type the whole label name, just something unique. So "g" "l" "men" goes to GitHub/mentions

If I'm in a label and reading an email, "y" will remove the label.

  • GitHub/author: from:(notifications@github.com) to:(-mention@noreply.github.com -team_mention@noreply.github.com author@noreply.github.com)

  • GitHub/mention: from:(notifications@github.com) to:(mention@noreply.github.com -team_mention@noreply.github.com -author@noreply.github.com)

  • GitHub/team-mention: from:(notifications@github.com) to:(-mention@noreply.github.com team_mention@noreply.github.com -author@noreply.github.com)

  • GitHub/watching: from:(notifications@github.com) to:(-mention@noreply.github.com -team_mention@noreply.github.com -author@noreply.github.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment