Gmail triage and drafts with Claude

Routes unread Gmail into five categories with Claude and Slack alerts. This n8n template checks Gmail every 15 minutes, and Claude Sonnet reads each email and assigns it to Urgent, Needs Reply, FYI Only, Automated or Spam. Urgent emails trigger an immediate Slack alert, Needs Reply emails get a Claude-written draft saved to Gmail drafts, FYI Only emails are labelled and marked as read, Automated emails are labelled and archived, and Spam is moved to trash. You create a sheet called Email Log for logging. The Slack node can be disabled if you do not use Slack, and an Anthropic API key is required.

n8nRead on 2026-11-168 steps

Steps

  1. Trigger: Polls Gmail for new unread emailsGmail
    Every 15 minutes.
  2. Claude Sonnet classifies each emailAnthropic Claude
    One of five categories.
  3. Urgent emails trigger a Slack alertSlack
    Sender, subject and summary.
  4. Needs Reply emails get a draftGmail
    Claude-written draft saved to Gmail drafts.
  5. FYI Only emails labelled and marked readGmail
  6. Automated emails labelled and archivedGmail
  7. Spam moved to trashGmail
  8. Output: Every email logged to Google SheetsGoogle Sheets
    With category and reasoning.

Limits

  • Spam is moved to trash.
  • The Slack node must be disabled if you do not use Slack.

What it does well

  • Needs Reply mail gets a Claude-written draft saved to Gmail drafts.

Before you import

You need: Gmail, an Anthropic API key, Slack (optional), Google Sheets.

Similar templates