Templates / Auto-Delete SPAM, Social, and Promotions Emails in Gmail

Auto-Delete SPAM, Social, and Promotions Emails in Gmail

Ready for 3.0

by Khairul Muhtadin ✓ · 3,618 views · created 2025-05-24 · Personal Productivity

Ready 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 a schedule (every 3 days). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (every 3 days).

  1. Fetch SPAM Emails (Gmail): get many
  2. Fetch Social Emails (Gmail): get many
  3. Fetch Promotion Emails (Gmail): get many
  4. Combine All Fetched Emails (Merge): merges the data from its input branches
  5. Split Email IDs (One per item) (Split Out): splits a list into separate items
  6. Delete All Mails (Gmail): delete

Services it uses

Gmail

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 (4)

From the author

Wake up to a clean Gmail inbox. This workflow auto-deletes emails sitting in your SPAM, Social, and Promotions categories, so clutter never piles up. Last updated: September 2026. Who is this for? Gmail users who want a tidy inbox without manual effort.…

Excerpt from Khairul Muhtadin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.