Monitor Gmail and Send AI Summaries to Telegram using GPT-4o-mini and Keywords
Categories
Created by
raRoshan RamaniLast edited 58 days ago
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:
- Email Trigger: Continuously monitors your Gmail inbox for new messages
- Smart Filter: Analyzes email subject and body for important keywords (sales, jobs, etc.)
- AI Processing: Sends relevant emails to OpenAI for intelligent summarization
- 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 summarization 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
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





