Gmail filters for your email notifications

The new email notification functions in myVersionControl have just been implimented and all of a sudden the filters in my Gmail account have stopped working. The reason is obvious. Instead of coming from no-reply@myversioncontrol.com, email notifications now come from the user that triggered them. As such, I'm going to have to look for another constant to identify and label these emails with.

Ok - here's what I did, the subject line of all email notifications will look something like this:

Project [projectname] commit r[revision number] - [folder path]

Google lets you group words which must appear together using parentheses, so you can add (project commit) to the Subject field of the Create a Filter page. If you want to make the filter project specific, just add the project name within the brackets too (project coolproject commit).

0 comments: