❌ Disable spam emails sent by the Claremont Colleges.

Overview

Claremont Spam Disabler

Have you ever had the misfortune of seeing an email like this?

Screenshot of a spam
email sent by the Claremont Colleges

Most likely not, unless you at one point attended a college in the Claremont Colleges consortium. However, if you do fall into the latter category, you'll be familiar with the issue. Essentially, the college administration has installed their own spam filter, which is largely useless since Gmail already has a spam filter that works very well. And the way the extra spam filter works, is every time you get a spam message, it sends you an email to your inbox telling you about it. Thus rather defeating the entire point of a spam filter, which is that you don't see spam emails.

The manual solution to this problem is to simply click the Release button in the email, at which point you'll be forwarded the spam, and Gmail will filter it out for you (unless it was in fact a false positive, in which case you'll see it in your inbox). However, since (at least at Harvey Mudd) you retain your school email address in perpetuity after graduation, this problem of occasional spam notifications never goes away, even if you've mostly migrated away from using the address for anything important.

Enter Claremont Spam Disabler. This is a Google Apps Script that leverages the Gmail Service to automate the advanced task of clicking the Release button and archiving the email!

(This script may also work with other organizations that use Cisco Ironport, but no guarantees.)

Usage

Go to https://script.google.com/home and create a new project. Paste in the contents of Code.gs to the editor, save it, click Run. You'll have to approve the requested permissions on your Gmail account, and then you should see a successful execution. If you want to test the functionality end to end, find one of the Claremont Colleges Blocked Spam Summary emails and move it to your inbox, then run the script again. All referenced emails should be released (a no-op if they were already released) and then the email should be archived. You should see logs to this effect in the Apps Script editor.

After you've verified things are working, I would suggest setting up a daily trigger for the script. I have mine set at 6am to 7am (GMT-07:00) because it appears that the emails are sent by a batch system shortly after 5am PT.

Monitoring

Google Apps Script should notify you by email if the script encounters errors. No other monitoring solutions are set up at present.

Limitations

You will, of course, still see these emails in your inbox during the time window between 5am to when the script runs in the morning. An improvement would be to create a Gmail filter to have the emails skip the inbox, and apply a special label. Then, the Apps Script could query for conversations with that label (instead of in the inbox), and remove the label once it's done with processing. I plan to make this improvement if the problem ever bothers me, but usually I am not awake and checking my email shortly after 5am.

You might also like...

Verify your E-Mail and Phone Number using link sent over mail and sms.

Verify your E-Mail and Phone Number using link sent over mail and sms.

Send Verification Link ✅ Explore the docs » • Report Bug • Request Feature • About The Project Verify your E-Mail and Phone Number using link sent ove

Jun 28, 2022

Server Sent Events (SSE) and WebSockets for the remix framework

remix-sse Server Side Events (SSE) and WebSockets made easy with Remix. Introduction This monorepo contains several packages for working with SSE and

Dec 26, 2022

Keep your sensitive information out of chat logs, emails, and more with heavily encrypted secrets.

Keep your sensitive information out of chat logs, emails, and more with heavily encrypted secrets.

Free encrypted secret sharing for everyone! This application is to be used to share encrypted secrets cross organizations, or as private persons. Hemm

Dec 31, 2022

A Jquery plugin that allows user to enter multiple emails using one input field

multi-emails A Jquery plugin that allows user to enter multiple emails using one input field Usage $("...").multiEmails() Options color textColor font

Aug 26, 2022

⚡️The Fullstack React Framework — built on Next.js

⚡️The Fullstack React Framework — built on Next.js

The Fullstack React Framework "Zero-API" Data Layer — Built on Next.js — Inspired by Ruby on Rails Read the Documentation “Zero-API” data layer lets y

Jan 4, 2023

Project to manage multiple emails at once with lots of customization. You can send and receive emails. Desktop notifications can be modified.

Project to manage multiple emails at once with lots of customization. You can send and receive emails. Desktop notifications can be modified.

Technologies Used React Redux Tailwind CSS Features Admin dashboard User settings and or user dashboard send emails recive emails Connections through

Dec 17, 2022

TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB - Tweet Reporter and Blocker TRAB is a Chrome extension that gives you a single button to do two things with a single click: Mark a Tweet as spam

May 4, 2022

A decentralised portal that aims to help Government Educational organisations to track student and colleges data to provide them with fellowships and programs.

A decentralised portal that aims to help Government Educational organisations to track student and colleges data to provide them with fellowships and programs.

DeSIDB A decentralised database built on Ethereum & Solidity. Introduction - India is a country with a population of 6.8 crore students graduating eac

Jul 10, 2022

A Frida script to disable SSL certificate pinning in a target application

frida-android-unpinning A Frida script to disable SSL certificate pinning in a target application For more information and detailed setup instructions

Dec 29, 2022

NoPrint.js - Disable Print, Screenshot, Copy & Paste in HTML by JavaScript.

NoPrint.js Disable Print, Screenshot, Copy & Paste in HTML by JavaScript. NoPrint.js is a small and neat open source JS library that disables print, s

Dec 26, 2022

🔨 Cross-browser JavaScript library to disable scrolling page

🔨 Cross-browser JavaScript library to disable scrolling page

scroll-lock Cross-browser JavaScript library to disable scrolling page Live demo | README на русском New features 2.0 More advanced touch event handli

Dec 17, 2022

Bookmarklet exploit that can force-disable extensions installed on Chrome. Also has a very fancy GUI to manage all extensions!

Bookmarklet exploit that can force-disable extensions installed on Chrome. Also has a very fancy GUI to manage all extensions!

ext remover Bookmarklet exploit that can force-disable any extension installed on Google Chrome Instructions Here are the instructions to using this e

Jan 6, 2023

Remote Code Execution V1 For iOS 15 sent through airdrop after the device was connected to a trusted host

Remote Code Execution V1 For iOS 15 sent through airdrop after the device was connected to a trusted host

iOS 15.0.1 RCE V1 Author: Jonathan Scott @jonathandata1 Date: October 9th, 2021 Release Version 1.0 Description When an iOS device has been connected

Dec 26, 2022

Sse-example - SSE (server-sent events) example using Node.js

sse-example SSE (server-sent events) example using Node.js SSE is a easy way to commutate with the client side in a single direction. it has loss cost

Mar 11, 2022

A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.

A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.

Strapi PasswordLess Plugin A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email. A pl

Dec 12, 2022

A POC of a Discord.js bot that sends 3D rendering instructions to a Go server through gRPC which responds with the image bytes which are then sent back on Discord.

A POC of a Discord.js bot that sends 3D rendering instructions to a Go server through gRPC which responds with the image bytes which are then sent back on Discord.

Jan 8, 2022

A project for experimenting with Server Sent Events (SSE), a way of communication going from server to client.

A project for experimenting with Server Sent Events (SSE), a way of communication going from server to client.

May 16, 2022

Verify your E-Mail and Phone Number using link sent over mail and sms.

Verify your E-Mail and Phone Number using link sent over mail and sms.

Phone-and-Mail-Verification-With-Link Verify your E-Mail and Phone Number using link sent over mail and sms. Endpoints POST /user/create Body { "n

Sep 14, 2022
Owner
Radian LLC
I make open-source software in my free time!
Radian LLC
Project to manage multiple emails at once with lots of customization. You can send and receive emails. Desktop notifications can be modified.

Technologies Used React Redux Tailwind CSS Features Admin dashboard User settings and or user dashboard send emails recive emails Connections through

Multi Email 9 Dec 17, 2022
TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB - Tweet Reporter and Blocker TRAB is a Chrome extension that gives you a single button to do two things with a single click: Mark a Tweet as spam

Amit Ruparel 16 May 4, 2022
A decentralised portal that aims to help Government Educational organisations to track student and colleges data to provide them with fellowships and programs.

DeSIDB A decentralised database built on Ethereum & Solidity. Introduction - India is a country with a population of 6.8 crore students graduating eac

Sachin Pandey 14 Jul 10, 2022
NoPrint.js - Disable Print, Screenshot, Copy & Paste in HTML by JavaScript.

NoPrint.js Disable Print, Screenshot, Copy & Paste in HTML by JavaScript. NoPrint.js is a small and neat open source JS library that disables print, s

null 33 Dec 26, 2022
🔨 Cross-browser JavaScript library to disable scrolling page

scroll-lock Cross-browser JavaScript library to disable scrolling page Live demo | README на русском New features 2.0 More advanced touch event handli

null 253 Dec 17, 2022
Bookmarklet exploit that can force-disable extensions installed on Chrome. Also has a very fancy GUI to manage all extensions!

ext remover Bookmarklet exploit that can force-disable any extension installed on Google Chrome Instructions Here are the instructions to using this e

Echo 124 Jan 6, 2023
A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.

Strapi PasswordLess Plugin A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email. A pl

Andrey Kucherenko 51 Dec 12, 2022
A POC of a Discord.js bot that sends 3D rendering instructions to a Go server through gRPC which responds with the image bytes which are then sent back on Discord.

A POC of a Discord.js bot that sends 3D rendering instructions to a Go server through gRPC which responds with the image bytes which are then sent back on Discord.

Henrique Corrêa 5 Jan 8, 2022
A project for experimenting with Server Sent Events (SSE), a way of communication going from server to client.

A project for experimenting with Server Sent Events (SSE), a way of communication going from server to client.

Italo Menezes 4 May 16, 2022
Verify your E-Mail and Phone Number using link sent over mail and sms.

Phone-and-Mail-Verification-With-Link Verify your E-Mail and Phone Number using link sent over mail and sms. Endpoints POST /user/create Body { "n

Prasoon Soni 5 Sep 14, 2022