Intelligent email organization with AI-powered content classification for Gmail: n8n template
Intelligent email organization with AI-powered content classification for Gmail is a free n8n workflow template by Niranjan G with 17 nodes. It starts with the Schedule Trigger node ("Schedule Trigger") and uses Gmail, AI Agent and OpenAI Chat Model. You can paste it into your n8n editor in one click with FlowLume.
What this workflow does, step by step
- Schedule Trigger
- Gmail - Get All Messages (Gmail node)
- Filter Emails Without Excluded Labels (Code node)
- Loop Over Items (Loop Over Items (Split in Batches) node)
- Gmail - Single Message (Gmail node)
- If
- Merge
- Extract Email Data (Edit Fields (Set) node)
- Categorize Email with AI (AI Agent node)
- OpenAI Chat Model
- Store AI Category (Edit Fields (Set) node)
- Check if Label Exists (Compare Datasets node)
- List All Gmail Labels (Gmail node)
- Apply New Label (Gmail node)
The full workflow has 17 nodes; this list shows the main path from the trigger.
What you need before you paste it
Connect these accounts in n8n
- Gmail (OAuth2) · used by Gmail - Get All Messages, Gmail - Single Message, List All Gmail Labels, Apply Label to Email, Apply New Label, Create New Label
- OpenAI · used by OpenAI Chat Model
Checked with FlowLume's setup checklist on 2026-11-25. In the extension, FlowLume Pro shows this checklist for any template before you paste.
Template facts
- Author
- Niranjan G (verified n8n creator)
- Nodes
- 17
- Apps
- Gmail, Schedule Trigger, AI Agent, OpenAI Chat Model
- Uses AI
- Yes (n8n AI nodes)
- Categories
- Ticket Management, AI Summarization
- Views on n8n.io
- 46,679
- Published
- 1 June 2025
- Price
- Free
How to paste it with FlowLume
- Install FlowLume. Add the free FlowLume extension to Google Chrome from the Chrome Web Store.
- Open n8n. Open a new or existing workflow in your n8n editor (n8n Cloud or self-hosted).
- Find the template. Click the FlowLume button at the bottom right and search for "Intelligent email organization with AI-powered content classification for Gmail".
- Paste it. Click Paste to n8n. All nodes and connections land on your canvas.
- Connect your accounts. Add your own credentials for Gmail (OAuth2), OpenAI, then run the workflow.
Similar n8n templates
- Create & upload AI-generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-4HTTP Request · OpenAI Chat Model · AI Agent · Schedule Trigger
- Personalized AI tech newsletter using RSS, OpenAI and GmailEmbeddings OpenAI · OpenAI Chat Model · Schedule Trigger · AI Agent
- Automate blog content creation with OpenAI, Google Sheets & email approval flowSchedule Trigger · AI Agent · OpenAI Chat Model · Google Sheets
- ✨🤖Automate Multi-Platform Social Media Content Creation with AIGoogle Gemini Chat Model · OpenAI Chat Model · HTTP Request · Facebook Graph API
- Generate AI viral videos with Seedance and upload to TikTok, YouTube & InstagramSchedule Trigger · Google Sheets · OpenAI Chat Model · HTTP Request
- Generate AI viral videos with VEO 3 and upload to TikTokSchedule Trigger · Google Sheets · AI Agent · OpenAI Chat Model
Template "Intelligent email organization with AI-powered content classification for Gmail" by Niranjan G, published on n8n.io. The template and its description belong to its author; this page only summarises its structure. FlowLume is an independent tool by DrakenLume and is not affiliated with n8n GmbH. n8n is a trademark of n8n GmbH.