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 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