workflows.fit
Back to n8n workflows
n8n templateFreeBy Ayis Saliaris Fasseas

Automatic email classification with Gmail and Claude AI

How It Works 1.Gmail Trigger - Continuously monitors your Gmail inbox for new messages. - Captures the email’s subject, body, and metadata. - Sends the extracted content to the Email Content Classifier. 2.Email Conten...

CommunicationHITLAILangchainCore NodesSticky NoteGmailLm Chat Anthropic
Loading interactive preview...

Template notes

How It Works 1.Gmail Trigger

- Continuously monitors your Gmail inbox for new messages. - Captures the email’s subject, body, and metadata. - Sends the extracted content to the Email Content Classifier.

2.Email Content Classification

The Email Content Classifier analyzes the email content using natural language processing.

Compares the message against predefined Gmail labels: - Ads - Work - Personal - Financial - Other (fallback label)

Users can add or rename categories to match their specific needs.

Uses context, tone, and keywords to determine the most accurate label.

3.Applying Gmail Labels