An automated backend script that connects Google Apps Script to the Gemini AI API to clean out expired events, webinars, and hackathons from your inbox.
- Wakes up every 4 hours via a time-driven trigger.
- Pulls up to 25 unread emails from your inbox.
- Evaluates them against strict rules using Gemini 3.1 Flash Lite.
- Safely trashes emails if the event deadline has passed.
- Logs all AI verdicts and actions to a Google Sheet dashboard.