Skip to content

Instantly share code, notes, and snippets.

View shinyquagsire23's full-sized avatar
💭
Messing with Apple Vision

Max Thomas shinyquagsire23

💭
Messing with Apple Vision
View GitHub Profile
@peppy
peppy / zendesk-google-apps.js
Last active February 4, 2026 19:54
zendesk spam filter
/*
* This will let you action on all zendesk emails.
* Unfortunately this isn't as they arrive, but on a time based schedule.
* It will help with organisation but not stop realtime notifications from arriving.
*
* - Create a new app/script on https://script.google.com.
* - Setup a time based trigger (1 hour works well for me)
* - Run the following function: https://gist.github.com/peppy/696d6a9df7036a11fce21252101684df.
* - IMPORTANT: it currently adds a label which you can then use to filter and manually action on emails.
* If you prefer, you can archive or trash automatically (see commented lines at the end of the code),