Telegram AI Mail Agent
detail.loadingPreview
An AI-powered agent that processes emails from Gmail and sends summaries to Telegram.
🚀Ready to Deploy This Workflow?
About This Workflow
Telegram AI Mail Agent
This workflow acts as an intelligent mail agent. It retrieves emails from your Gmail inbox, filters out irrelevant ones, uses an AI model to categorize and process the remaining emails, and then archives or labels them accordingly. Finally, it sends a summary of the processed emails to a Telegram chat.
Key Features
- Retrieves emails from Gmail inbox.
- Filters out emails already processed or marked as 'NotNeed' or 'MustRead'.
- Utilizes an AI model (OpenRouter with GPT-4.1 nano) for email categorization and decision-making.
- Archives unnecessary emails by removing them from the inbox.
- Adds specific labels to emails based on AI's assessment.
- Sends a consolidated summary of processed emails to a Telegram channel.
How To Use
- Import Workflow: Import this JSON into your n8n instance.
- Configure Credentials:
- Gmail OAuth2: Connect your Google account to allow n8n to access your Gmail inbox.
- OpenRouter Account: Configure your OpenRouter API key for AI model access.
- Telegram Bot: Set up a Telegram bot and use its token to connect n8n.
- Set up Telegram Trigger: Configure the
Telegram Triggernode with your bot's token and desired chat ID to receive messages. - Test Workflow: Trigger the workflow manually or via Telegram to test its functionality.
Apps Used
Workflow JSON
{
"id": "53fea3f3-3dcd-40a1-b875-7072d603f701",
"name": "Telegram AI Mail Agent",
"nodes": 0,
"category": "AI & Productivity",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 53fea3f3-3dcd...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate DOCX to PDF Conversion and Save Locally
This workflow automates the process of converting a Microsoft Word DOCX file to a PDF document. It downloads a source DOCX file, uses ConvertAPI to perform the conversion, and then saves the resulting PDF file directly to your local disk.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.