Scheduled Gmail cleanup - auto-delete spam, promotions, social & trash
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 6 nodes and runs on a schedule (every day). Along the way it connects Gmail.
How it runs
Trigger: On a schedule (every day).
- Get all SPAM Mails (Gmail): get many
- Get all Social Mails (Gmail): get many
- Get all Trash Mails (Gmail): get many
- Get all Promotional Mails (Gmail): get many
- Delete Mails (Gmail): delete
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.
Nodes used (2)
- Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Scheduled Gmail Cleanup – Auto-Delete Spam, Promotions, Social & Trash to save the Gmail space and time Managing Gmail manually can be tedious and time-consuming. Spam, Promotions, Social, and Trash folders quickly fill up with unwanted emails, taking up…