AI Agent

How to Summarize Gmail with AI and Send It to Telegram (n8n Template)

· 2 min read · YayaAgent Team

It's not about reading more emails faster. It's about not reading most of them at all.

Every new email you get sits in your inbox until you open it, skim it, and decide whether it matters. That's minutes of attention spent per email, multiplied by however many land in your inbox today. An AI agent can do that first pass for you — read the email, pull out what matters, and send you a one-line summary somewhere you'll actually see it, like Telegram.

This article walks through a free n8n template that does exactly that: new Gmail email → AI summary → Telegram alert. No code. About 10 minutes to set up.

Myth vs. Reality

Myth: Automating your inbox means building a complicated system that reads, sorts, replies, and archives everything on its own.

Reality: The most useful version of this is much smaller — just a summary, delivered where you'll notice it. Think of it as the difference between hiring a full-time assistant to manage your entire inbox and just asking a coworker to text you "hey, that client email came in, they're asking about the invoice" — you still make the decisions, you just don't have to go looking for what needs a decision in the first place.

What This Workflow Actually Does

Three steps, in order:

  1. Trigger — A new email lands in a Gmail inbox (or a specific label, if you want to filter what triggers the workflow).
  2. Summarize — An AI agent reads the email content and writes a short summary: sender, subject, and the one or two things that actually matter.
  3. Notify — That summary gets sent to a Telegram chat, so it shows up as a notification on your phone instead of sitting buried in an inbox.

That's the whole thing. No replying, no filing, no decision-making on the agent's part — it just tells you what came in and why it might matter.

Before You Start

You'll need three things set up:

  • n8n running somewhere (cloud or self-hosted). If you haven't installed it yet, the n8n installation guide covers three ways to do it depending on your setup.
  • A Gmail account you're comfortable connecting (this is where the workflow reads incoming email from).
  • A Telegram bot, which takes about two minutes to create through Telegram's BotFather chat — you'll get a bot token you'll paste into the workflow.

Get the Template

The full workflow — ready to import, no building required — is available in the Workflow section:

Download: Gmail → AI Summary → Telegram Template

Import the JSON into your n8n instance, and you'll see three connected nodes matching the steps above.

The Part That Usually Trips People Up

The workflow itself is simple. Where people get stuck is almost always authentication — connecting Gmail and Telegram both require the right credentials in the right place, and a missing scope or an expired token will make the workflow fail silently instead of loudly.

If your workflow imports fine but nothing happens when a test email comes in, or you're seeing auth-related errors in n8n's execution log, this is the most common cause. The API Key & Auth Errors guide walks through how to diagnose and fix exactly this.

Bottom Line

You don't need to automate your entire inbox to get value out of AI agents — you need one small, working thing that saves you a specific kind of attention every day. This template does one job: it reads your email so you don't have to skim it first. Get it running once, and you'll have a real, working example of an AI agent doing something useful — which makes the next workflow you build a lot less intimidating.

you'll likely notice it summarizes everything — including newsletters and verification codes that don't need a summary. Filtering junk before it reaches the AI step is the natural next upgrade, which we'll cover separately.

Further reading: