Auto-Archive Unstarred Gmail Inbox Emails Daily

Automatically archives emails in Gmail Inbox older than 1 day unless starred, running at midnight on weekdays to maintain Inbox Zero effortlessly.

n8n
Auto-Archive Unstarred Gmail Inbox Emails Daily

This n8n workflow automates email management in Gmail by triggering at midnight every weekday. It fetches all threads in the Inbox that were received more than one day ago, retrieves detailed thread information for each (likely to check for stars or labels), and archives them if they haven't been starred. This prevents inbox clutter without manual intervention, supporting an Inbox Zero strategy for personal or professional use.

Key benefits include significant time savings by eliminating daily manual archiving, reduced decision fatigue from sifting through old emails, and consistent inbox hygiene. It's particularly valuable for sales professionals managing pipelines, as a clean inbox ensures focus on high-priority leads and communications without distractions from outdated messages.

Customization is straightforward: adjust the cron schedule for daily runs or different times, tweak the query for specific labels or timeframes, and connect your Gmail OAuth2 credentials. Ideal for high-volume email users in sales, support, or executive roles aiming for productivity gains.

$9.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Sales workflows

More from Arjun Radu

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.