Automation workflow ProductivityAIEmail Coming soon

AI IMAP Inbox Cleaner

Crawls IMAP mailboxes including subfolders, forwards receipts to a dedicated Gmail inbox, and trashes promotional/shopping email older than 14 days. Rules-first with optional AI fallback and dry-run safety.

TITLE AI IMAP inbox cleaner for Yahoo folders, receipt forwarding, and promo trash

CATEGORIES

  • Productivity
  • AI
  • Email

SHORT DESCRIPTION Crawls IMAP mailboxes including subfolders, forwards receipts to a dedicated Gmail inbox, and trashes promotional/shopping email older than 14 days. Rules-first with optional AI fallback and dry-run safety.

Who it's for

People with huge Yahoo/IMAP inboxes who need receipt recovery and promo cleanup without manual forwarding.

What it does

A Python crawler walks all folders/subfolders and asks an n8n classifier webhook what to do with each email. Receipts are forwarded to a receipt Gmail address. Promo/shopping/ads older than 14 days can be trashed. Everything else is skipped. Dry-run is default.

Defaults

  • DRY_RUN = true
  • PROMO_TRASH_AFTER_DAYS = 14
  • ENABLE_AI_FALLBACK = true
  • MIN_FORWARD_CONFIDENCE = 70
  • MIN_TRASH_CONFIDENCE = 80

Requirements

Self-hosted n8n, Yahoo/IMAP app password, receipt Gmail address, optional OpenAI and Google Sheets.

Stuck connecting credentials? Our Credential Setup Coach walks you through 60+ provider connections step by step.