Automate Gmail Inbox Cleanup with AI-Powered Email Classification
Streamline your Gmail inbox by automatically classifying and deleting spam and marketing emails using AI. This workflow leverages OpenAI to ensure only important emails remain.
This workflow is designed for users overwhelmed by irrelevant emails in their Gmail inbox. By utilizing OpenAI's advanced language model, it classifies incoming emails into 'SPAM', 'OFFER', or 'IMPORTANT'. Emails identified as 'SPAM' or 'OFFER' are automatically deleted, ensuring a cleaner inbox without manual intervention. The workflow runs every hour and can be customized to archive or log emails instead of deleting them. Setup requires connecting your Gmail account and OpenAI API key.
Platform
n8n
Category
Communication
Price
Free
Creator
Aiden Clarke
if
gmail
stickyNote
gmailTrigger
agent
lmChatOpenAi
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.