⚡ Smart Gmail cleaner with AI validator & Telegram alerts

3,058 views · ⚡ Personal Productivity

Description

Automatically clean up your Gmail inbox by deleting unwanted emails, validated by Gemini AI.
Ideal for anyone tired of manual inbox cleanup, this workflow helps you save time while staying in control, with full transparency via Telegram alerts.

How it works

Set up steps

  1. Connect your Gmail, Gemini AI, and Telegram accounts
  2. Adjust the AI baseline to control sensitivity (e.g. how strict the filtering should be)
  3. Set your batch range (default: last 2 weeks, adjustable)
  4. Define your Telegram chat/channel for notifications

Note: Thanks to n8n’s modular design, you can easily switch Gemini for another AI model (like OpenAI, Claude, etc.) or replace Telegram with Discord, Slack, or even email, no code changes needed, just swap the nodes.

🔗 Nodes Used

Telegram, Gmail, AI Agent, Structured Output Parser, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup