Templates / Automatically delete spam emails in Gmail on schedule

Automatically delete spam emails in Gmail on schedule

Ready for 3.0

by Bao Duy Nguyen ✓ · 5,777 views · created 2025-05-21 · 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 3 nodes and runs on a schedule (every week). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (every week).

  1. Get all SPAM emails (Gmail): get many
  2. Delete SPAM emails (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 (2)

From the author

Who is this for? If you hate SPAM emails or don't want to clean them up frequently. What problem is this workflow solving? It automatically deletes SPAM emails for you, so you don't have to. Save a bit of your time. What this workflow does - You can specify…

Excerpt from Bao Duy Nguyen'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.