Intelligent Gmail Inbox Cleaner Powered By AI
detail.loadingPreview
Automate your Gmail cleanup with AI. This workflow intelligently sorts and deletes unwanted marketing and spam emails, keeping your inbox pristine.
About This Workflow
Tired of wading through promotional emails and spam? This n8n workflow empowers you to reclaim your inbox. It leverages the Google Gemini AI model to analyze incoming emails, determining their relevance and potential as unwanted marketing or spam. Based on AI-driven confidence scores, the workflow automatically deletes emails exceeding a set threshold, while providing optional notifications for processed actions. Seamlessly integrated with Gmail and capable of learning your preferences, this solution transforms your email management experience, saving you valuable time and mental energy.
Key Features
- AI-Powered Email Classification: Utilizes Google Gemini to accurately identify unwanted marketing and spam emails.
- Automated Deletion: Intelligently removes identified unwanted emails, reducing inbox clutter.
- Configurable Confidence Thresholds: Fine-tune the AI's decision-making process based on your preferences.
- Real-time Notifications: Receive alerts on Telegram when emails are deleted or skipped.
- Smart Date Filtering: Processes emails within a defined date range for efficient cleanup.
How To Use
- Connect Gmail: Authenticate your Gmail account within the
Gmail Get EmailandGmailDeleteEmailnodes. - Configure AI Analysis: In the
AI Check Emailnode, define your criteria for unwanted, marketing, and spam emails. The provided prompt is a good starting point. - Set Output Parser Schema: Configure the
Unwanted Email Output Parsernode with the specified JSON schema to structure the AI's output. - Define Conditional Logic: In the
If Unwanted Marketing or Spamnode, set your desired confidence thresholds (e.g., > 0.5) for triggering email deletion. - Set Up Notifications (Optional): Configure the
Telegram Sent Email Deleted NotificationandTelegram Sent Email Not Deleted Notificationnodes with your Telegram credentials and desired chat ID to receive real-time updates. - Trigger and Test: Use the
When clicking ‘Test workflow’node to manually run the workflow and test its functionality.
Apps Used
Workflow JSON
{
"id": "6dbf1be8-6d3c-4916-825e-d17fa8f079d5",
"name": "Intelligent Gmail Inbox Cleaner Powered By AI",
"nodes": 18,
"category": "Personal",
"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: 6dbf1be8-6d3c...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automate Your Daily Briefing: News, Emails, and Tasks
Streamline your day by automatically fetching the latest news from Times of India, important emails from your Gmail, and your upcoming Todoist tasks. Get a consolidated, beautifully formatted daily digest delivered straight to your inbox.
Daily AI-Powered Morning Briefing
Start your day with clarity and focus using this n8n workflow. It automatically fetches your tasks from Todoist and events from Google Calendar, then leverages AI to create a concise, personalized daily briefing delivered directly to your inbox every morning. This ensures you always know your top priorities and upcoming schedule at a glance.
AI Music Generator with Suno V3.5 (KIE.ai)
This n8n workflow automates AI music generation using the KIE.ai API, powered by the Suno V3.5 model. Users simply submit music prompts, styles, and titles via a web form, and the system handles real-time generation and delivery of the final audio output. It's perfect for quickly creating custom music for various needs.