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.
Steps
- Trigger: Polls Gmail for new unread emailsGmail
Every 15 minutes. - Claude Sonnet classifies each emailAnthropic Claude
One of five categories. - Urgent emails trigger a Slack alertSlack
Sender, subject and summary. - Needs Reply emails get a draftGmail
Claude-written draft saved to Gmail drafts. - FYI Only emails labelled and marked readGmail
- Automated emails labelled and archivedGmail
- Spam moved to trashGmail
- 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
Region-aware Gmail support replies
Also for customer support, 10 steps.
Gmail triage and Slack urgent alerts
Also for customer support, 8 steps.
Gmail support drafts with IONOS AI
Also for customer support, 7 steps.
Gmail and Google Sheets: 22 templates compared
Same two apps, different steps.
Gmail and Slack: 18 templates compared
Same two apps, different steps.
Google Sheets and Slack: 16 templates compared
Same two apps, different steps.
Anthropic Claude and Gmail: 6 templates compared
Same two apps, different steps.
Anthropic Claude and Google Sheets: 4 templates compared
Same two apps, different steps.
Anthropic Claude and Slack: 3 templates compared
Same two apps, different steps.
Sort incoming requests
Other templates that do this task.