workflows.fit
Back to n8n workflows
n8n templateFreeBy Ruthwik

Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini

đź“§ AI-Powered Email Categorization & Labeling in Zoho Mail This n8n template demonstrates how to use AI text classification to automatically categorize incoming emails in Zoho Mail and apply the correct label (e.g., S...

DevelopmentCore NodesAILangchainCommunicationHttp RequestSetText Classifier
Loading interactive preview...

Template notes

đź“§ AI-Powered Email Categorization & Labeling in Zoho Mail

This n8n template demonstrates how to use AI text classification to automatically categorize incoming emails in Zoho Mail and apply the correct label (e.g., Support, Billing, HR). It saves time by keeping your inbox structured and ensures emails are routed to the right category.

Use cases include: - Routing customer support requests to the correct team. - Organizing billing and finance communications separately. - Streamlining HR and recruitment email handling. - Reducing inbox clutter and ensuring no important message is missed.

---

ℹ️ Good to know - You’ll need to configure Zoho OAuth credentials — see [Self Client Overview](), [Authorization Code Flow](), and [Zoho Mail OAuth Guide](). - The labels must already exist in Zoho Mail (e.g., Support, Billing, HR). The workflow fetches these labels and applies them automatically. - The Zoho Mail API domain changes depending on your account region: - .com → Global accounts (https://mail.zoho.com/api/...) - .eu → EU accounts (https://mail.zoho.eu/api/...) - .in → India accounts (https://mail.zoho.in/api/...)

Example: For an EU account, the endpoint would be: bash https://mail.zoho.eu/api/accounts/<accountID>/updatemessage

- The AI model used for text classification may incur costs depending on your provider (e.g., OpenRouter). - Start by testing with a small set of emails before enabling for your full inbox.

---