Templates / Classify Gmail emails with GPT-4o mini and send Telegram notifications

Classify Gmail emails with GPT-4o mini and send Telegram notifications

Ready for 3.0

by Christian Moises ✓ · 1,267 views · created 2025-08-18 · AI Summarization, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail, Telegram and OpenAI Chat Model.

How it runs

Trigger: On Gmail events.

  1. Classification Agent (Text Classifier): classifies text into categories with AI, with model: 4o- mini
  2. High Priority (Gmail): add labels
  3. AI Agent: runs an AI agent, with model: 4o-mini
  4. Work Related (Gmail): add labels
  5. Promotions (Gmail): add labels
  6. Send a text message (Telegram): uses Telegram

Services it uses

GmailTelegramOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).

Nodes used (6)

From the author

Gmail AI Email Classifier & Notifier Since Gmail inboxes can quickly become cluttered, this workflow provides an automated AI-based email classification system. It listens for new emails, categorizes them using an AI classifier, applies Gmail labels, and…

Excerpt from Christian Moises's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.