Tuesday, March 31, 2015

The Solution to Cedarville Junk Mail

We all recieve a lot of Cedarville emails (some of us are the initiators of such emails). If you're like me, 90% of these emails have no relevance to you and get deleted automatically. Career Services with their "Informational Meetings", SGA with their various philanthropy projects (that you've probably already helped with if you wanted to), and who can forget the dining hall's "Weekend Plea" emails? I claim to have solved the problem of Cedarville Spam.

There are two main parts to this solution: a Gmail filter and an optional Google Script. I've tried to make it as easy as possible to implement these two parts. But, first, an explanation of how it works:

A Gmail filter takes care of emails before they hit your inbox.


My method for this Gmail filter is to filter out any emails that are not sent to you specifically (i.e. any emails sent to "undergradstu_fall@cedarville.edu" or "seniors@cedarville.edu" are most likely emails that you don't care about whereas emails sent to "YOURNAME@cedarville.edu" are emails that you are always interested in). Here's the criteria I use: 

-{to:derekantrican@ga.cedarville.edu OR to:derekantrican@cedarville.edu OR to:mj_mengr@cedarville.edu OR subject:technews OR subject:techalert OR subject:climbing}

A little explanation: - The "-" before everything means "NOT" so we're looking for things that don'tmatch this criteria - The "to:" means "sent to this address". Obviously here you should include "YOURNAME@cedarville.edu" and "YOURNAME@ga.cedarville.edu" as those are the two main ways you'll recieve emails important to you. You should also include your "major email" (mine is the "mj _ mengr@cedarville.edu") and your "dorm email" (I'm off campus, but for example Lawlor would be "dorm _ law@cedarville.edu") - Finally, you can include special keywords for subjects you want to keep with "subject:". I highly suggest "subject:techalert" as that way you'll be informed if Moodle suddenly goes down for some reason. I also have "subject:climbing" because I work at the climbing wall and am interested in seeing those emails (whether they pertain to me or not).

You can modify this search criteria however you like (for reference, visit goo.gl/L33giu).

Next, you'll need to choose a helpful label name for these emails (how about "Cedarville Junk"?).

To set up your filter,

     Put the search critera that you made above into the search bar and click the drop-down arrow



     Click "Create filter with this search >>" at the bottom



     Check the boxes "Skip the Inbox (Archive it)" and "Apply the label: "



     Next to "Apply the label: ", click the drop-down menu and click "New label..."



     Name your label the name you decided on before and click "Create"



     Finally, click "Create filter"




You're done! Now you should never see the Cedarville Junk mail in your inbox again!

Optionally, you can add a Google Script which will 1) email you every day with the emails that have been labeled for removal and 2) delete them after a certain amount of time you choose. Both of these features are optional and you can have one, the other, both, or none.

Here's how to get the script running:

     Go to the link here: goo.gl/YJyO1B

     Following the instructions provided, click "File" > "Make a Copy..." to make a copy to your Google Drive



     Change lines 10-14 according to your email and label that you chose.



     Finally, click "Run" > "install" to install and authorize the script.


     Sit back and enjoy your clean inbox!

If you have any questions or suggestions, feel free to email me at derekantrican@gmail.com