GenAiHub

Last checked 8 October 2026 — responded normally.

Triage Gmail inbox emails and draft AI replies with Claude Sonnet 4.6

Quick overview

Live
Open / InstallLast updated October 8, 2026

Description

Quick overview This workflow monitors a Gmail inbox for unread messages, uses Anthropic Claude to classify and summarize each email, auto-drafts an HTML reply in the same thread, logs the triage result to an n8n Data Table, and sends an urgent alert email for high-priority items. How it works Triggers every minute when a new unread email arrives in Gmail. Extracts the sender, sender email address, subject, body text, thread ID, and message ID from the email. Sends the email content to Anthropic Claude (Sonnet 4.6) to classify category, urgency, and sentiment, generate a one-line summary, and produce a draft subject and HTML reply. Normalizes the AI output into a single triage record and timestamps it for logging. Logs the triage details (category, urgency, sentiment, summary, and whether it needs a human) to the n8n Data Table email_triage_log. Creates a Gmail draft reply addressed to the sender and attached to the original thread. Sends an urgent alert email to your chosen address when the email is marked High urgency, otherwise it only drafts and logs. Setup Connect Gmail OAuth2 credentials for the Gmail trigger, draft creation, and urgent alert steps. Add Anthropic credentials and ensure the workflow uses the Claude Sonnet 4.6 model. Replace the placeholder recipient in the urgent alert email with your real alert inbox address (for example, you@company.com). Confirm the n8n Data Table email_triage_log exists (or select/create it) so triage records can be written. An n8n automation workflow template by Swapnil Mandloi.

Community Metrics

Views
2
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Swapnil Mandloi

Platform

web

Pricing model

free

Categories

  • Automation
  • AI

Tags

  • n8n
  • workflow
  • gmail
  • ai-agent
  • anthropic-chat-model
  • structured-output-parser

Capabilities

  • 4 nodes
  • 2 views

Information

TypeWorkflow
Sourcen8n
AddedJuly 28, 2026

Comments

?

Others in the same category, ranked by how often they are opened.