AI-Powered Email Inbox Cleaner: Auto Spam & Marketing Killer
detail.loadingPreview
Tired of a cluttered inbox? This n8n workflow leverages the power of AI to automatically scan your Gmail, intelligently categorize incoming emails, and eliminate unwanted spam and marketing messages, leaving only what truly matters.
About This Workflow
Achieve a pristine inbox effortlessly with this intelligent n8n workflow. Designed for anyone overwhelmed by digital noise, this automation connects to your Gmail, periodically scanning for new emails. It then employs a sophisticated OpenAI agent (GPT-4.1-nano) to meticulously classify each message as IMPORTANT, OFFER, or SPAM based on a carefully crafted prompt and real-world examples. Emails identified as SPAM or OFFER are automatically deleted, ensuring your inbox remains free of distractions. This is your ultimate tool for reclaiming focus and boosting productivity.
Key Features
- AI-Powered Email Classification: Utilizes OpenAI's GPT-4.1-nano to accurately categorize emails into
IMPORTANT,OFFER, orSPAM. - Automated Deletion: Instantly removes unwanted marketing and spam emails from your Gmail inbox.
- Hourly Inbox Monitoring: Automatically checks for new emails, keeping your inbox continuously clean without manual intervention.
- Preserves Important Communications: Smartly distinguishes and keeps crucial messages like order confirmations, invoices, and personal inquiries.
- Customizable Logic: The AI's classification rules are transparent and can be reviewed or fine-tuned within the workflow.
How To Use
- Connect Gmail: Link your Gmail account to the "Gmail Trigger" and "Delate Email" nodes.
- Connect OpenAI: Provide your OpenAI API credentials to the "OpenAI Chat Model" node.
- Review AI Logic: Optionally, examine the detailed
systemMessagein the "Validator of Email" node to understand the classification rules and examples. - Activate Workflow: Once credentials are set, activate the workflow. It will run automatically, checking your inbox hourly.
Apps Used
Workflow JSON
{
"id": "ca6760b0-fd4a-4cb5-99a0-2d720e47e72b",
"name": "AI-Powered Email Inbox Cleaner: Auto Spam & Marketing Killer",
"nodes": 15,
"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: ca6760b0-fd4a...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Send Obsidian Notes as Emails with Dynamic Attachments
This workflow empowers you to transform your Obsidian notes into dynamic emails, complete with custom metadata from YAML frontmatter and automated attachment handling. Seamlessly share your thoughts and files directly from your preferred note-taking environment.
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.
Voice Task to Notion: AI-Powered Processing
This n8n workflow automates the intelligent processing of voice-activated tasks intended for Notion or similar tools. It leverages advanced AI to understand inputs, builds a dynamic knowledge base from them, and logs processing outcomes to Google Sheets. Instantly get alerted via Slack for any errors, ensuring reliable task management.