Automate Gmail inbox organization with rule-based categorization and smart actions
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail.
How it runs
Trigger: On Gmail events.
- Categorize Email by Content (Switch): routes items into 3 branches
- Apply Work Label (Gmail): add labels
- Apply Shopping Label (Gmail): add labels
- Apply Newsletter Label (Gmail): add labels
- Mark Work Email as Important (Gmail): mark as important
- Archive Newsletter Email (Gmail): add labels
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New Email Received).
Nodes used (3)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail
From the author
- How it works: The organizer continuously monitors your Gmail inbox. It analyzes sender and subject to categorize emails (Work, Purchases, Newsletter) and automatically applies labels. Based on the category, it performs specific actions, such as marking…