Loop/loopEmailmedium riskintermediatesafety C · 48looprepo

Email triage agent for Gmail

Point an agent at your Gmail inbox to read, label, and file new mail — moving only obvious newsletters and spam to Trash while protecting receipts, security, and human messages.

Prompt
→ Claude Code
/loop triage my Gmail inbox with the ConnectMyEmail MCP — read each unread message, label it (newsletter, receipt, security, human, spam), and move only clearly promotional newsletters and spam to Trash, never permanently deleting anything and never touching receipts, security, or human mail. Stop after 200 messages or when no untriaged unread remain, verify each pass by re-counting untriaged unread, and ask before archiving anything ambiguous.
claude-code · codex

Implementation note

Runs on the inbox you already have via ConnectMyEmail (Gmail). Trash is reversible; nothing is permanently deleted. Review the first run to confirm the label rules match how you sort.

Source: looprepo ↗graded C · 48/100 — how grades work (Safety Score v2) →

Similar loops

All email loops →
/loopEmailmedium risk

Email triage agent for Outlook

Triage an Outlook inbox across Focused and Other — labelling new mail and moving only newsletters and spam to Deleted Items, protecting receipts, security, and human messages.

prompt
→ Claude Code
/loop triage my Outlook inbox with the ConnectMyEmail MCP — read each unread message across Focused and Other, label it (newsletter, receipt, security, human, spam), and move only clearly promotional newsletters and spam to Deleted Items, never permanently deleting and never touching receipts, security, or human mail. Stop after 200 messages or when no untriaged unread remain, verify each pass by re-counting untriaged unread, and ask before archiving anything ambiguous.
/loopEmailmedium risk

Newsletter cleanup

Move read promotional newsletters older than 30 days to Trash — promotional senders only, never receipts, security, or personal mail.

prompt
→ Claude Code
/loop clean up marketing newsletters in my inbox with the ConnectMyEmail MCP — move read promotional newsletters older than 30 days to Trash, only clearly promotional senders, never receipts, security, or personal mail and never permanently deleting. Stop after 500 messages or when none remain, verify each sender was a bulk list before moving it, and ask before trashing anything you're unsure about.
/loopEmaillow risk

Receipt & statement archiver

Scan the inbox for receipts, invoices, and statements and file each under a Receipts label — read-only on everything else, deleting nothing.

prompt
→ Claude Code
/loop scan my inbox with the ConnectMyEmail MCP for receipts, invoices, and statements and file each under a 'Receipts' label — read-only on everything else and never deleting anything. Stop after 200 messages or when no unlabeled receipts remain, verify each matched message was labeled, and ask before creating any new label.