AI-Powered Inbox Guardian: Auto-Delete Spam & Marketing Offers
detail.loadingPreview
Tired of a cluttered inbox? This n8n workflow leverages AI to automatically classify and delete unwanted spam and marketing emails from your Gmail, keeping your inbox clean and focused on important messages. Enjoy a smarter, more productive email experience without manual sifting.
About This Workflow
This n8n workflow is your ultimate solution for an uncluttered email experience. It intelligently monitors your Gmail inbox, using an advanced OpenAI agent to classify each incoming email as either SPAM, OFFER, or IMPORTANT. SPAM messages include scams or low-quality content, while OFFER encompasses promotional emails and marketing pitches lacking immediate value. Crucially, any email identified as SPAM or OFFER is automatically and permanently deleted. This ensures your inbox only retains IMPORTANT messages like order confirmations, personal inquiries, or invoices, streamlining your communication and significantly boosting your productivity. Say goodbye to manual email sorting and reclaim your time.
Key Features
- AI-Powered Email Classification: Utilizes an OpenAI agent to intelligently categorize emails into SPAM, OFFER, or IMPORTANT.
- Automated Deletion: Automatically removes unwanted spam and marketing offers from your Gmail inbox.
- Real-time Monitoring: Continuously scans your Gmail for new messages, ensuring immediate processing.
- Focused Inbox: Keeps your inbox clean, allowing you to prioritize and respond to truly important communications.
- Customizable AI Logic: The AI's classification rules can be fine-tuned to match your specific needs.
How To Use
- Configure Gmail Trigger: Connect your Gmail account using OAuth2 credentials. The workflow is set to check for new emails every hour by default; adjust the poll interval as needed.
- Connect OpenAI Agent: Provide your OpenAI API key credentials. The 'Validator of Email' node is pre-configured with a detailed system message to guide the AI's classification.
- Review If Node: This node is set up to filter for emails classified as 'SPAM' or 'OFFER' by the AI. No changes are typically required unless you wish to modify the deletion criteria.
- Setup Gmail Delete: Ensure this node is connected to the same Gmail account credentials as the trigger. It's configured to delete the specific email ID captured by the trigger.
- Activate Workflow: After ensuring all credentials are set and nodes are configured correctly, activate the workflow to begin automatic email processing. We highly recommend testing on a non-critical Gmail account first.
Apps Used
Workflow JSON
{
"id": "fa8b72f0-6410-4d4a-b2c2-638e04fd774d",
"name": "AI-Powered Inbox Guardian: Auto-Delete Spam & Marketing Offers",
"nodes": 20,
"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: fa8b72f0-6410...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
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.
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.
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.