Roshan Ramani

Roshan Ramani

Monitor Gmail and Send AI Summaries to Telegram using GPT-4o-mini and Keywords

Overview

An intelligent automation workflow that monitors your Gmail inbox and sends AI-powered summaries of important emails directly to your Telegram chat. Perfect for staying updated on critical communications without constantly checking your email.

🌟 Key Features

  • Real-time Email Monitoring : Checks Gmail every minute for new emails
  • Smart Content Filtering : Only processes emails containing important keywords
  • AI-Powered Summarization : Uses GPT-4o-mini to create concise, human-readable summaries
  • Instant Telegram Notifications : Delivers summaries directly to your preferred Telegram chat
  • Customizable Keywords : Easily modify filters to match your specific needs

πŸ”§ How It Works

Workflow Steps:

  1. Email Trigger : Continuously monitors your Gmail inbox for new messages
  2. Smart Filter : Analyzes email subject and body for important keywords (sales, jobs, etc.)
  3. AI Processing : Sends relevant emails to OpenAI for intelligent summarization
  4. Telegram Delivery : Sends formatted summary to your Telegram chat

Sample Output:

 πŸ“¦ Your Flipkart order "Bluetooth Speaker" was delivered today. Enjoy!
 πŸ’° Invoice from AWS for $23.50 is due by July 20. Check billing portal.
 βœ… HR shared your July payslip. No action needed unless there's an error.

πŸ›  Setup Requirements

  • Gmail account with OAuth2 credentials
  • OpenAI API key
  • Telegram bot token and chat ID
  • N8N instance (cloud or self-hosted)

πŸ“‹ Use Cases

  • Business Alerts : Payment due notices, invoice reminders
  • E-commerce : Order confirmations, delivery updates
  • HR Communications : Payslips, policy updates, announcements
  • Security : Login alerts, security notifications
  • Job Hunting : Application responses, interview invitations

βš™οΈ Customization Options

  • Keyword Filters : Add/remove keywords in the filter node (invoice, payment, security, delivery, etc.)
  • AI Prompt : Modify the summary style and format
  • Polling Frequency : Adjust email checking interval
  • Multiple Chats : Send to different Telegram chats based on email type

πŸ”’ Privacy & Security

  • Processes emails locally through n8n
  • No email content stored permanently
  • Uses secure OAuth2 authentication
  • Respects Gmail API rate limits

πŸ“Š Performance

  • Lightweight and efficient
  • Minimal resource usage
  • Fast AI processing with GPT-4o-mini
  • Reliable Telegram delivery

πŸ’‘ Pro Tips

  • Start with broad keywords and refine based on results
  • Use multiple condition branches for different email types
  • Set up different Telegram chats for work vs personal emails
  • Monitor your OpenAI usage to avoid unexpected costs

Do you want to automate your business?

Let's talk about your project