AcademyWorkflowsProductivity

Classify and label Gmail emails with AI

Sales, support and operations staff who receive many emails and want each one labeled consistently.

  • Recommendedour rating
  • 4,476views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

automatically-classify-and-label-gmail-emails-with-google-gemini-ai.json

Loading the file...

What it does

An n8n workflow that reads each new Gmail message and sorts it with a text classifier and a language model. Messages are grouped into categories such as high priority, work related or promotions, and the matching Gmail label is added. You can change the categories and the classification prompt to suit your inbox.

Use cases

  1. 01Flagging urgent messages from clients
  2. 02Sorting internal emails under a work label
  3. 03Moving promotional messages out of the main view

Connects

Gmail · AI Agent · Google Gemini Chat Model · Groq Chat Model · Text Classifier

Questions about
Classify and label Gmail emails with AI.

What is Classify and label Gmail emails with AI used for?

Sales, support and operations staff who receive many emails and want each one labeled consistently. An n8n workflow that reads each new Gmail message and sorts it with a text classifier and a language model. Messages are grouped into categories such as high priority, work related or promotions, and the matching Gmail label is added. You can change the categories and the classification prompt to suit your inbox.

How do I import Classify and label Gmail emails with AI into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Classify and label Gmail emails with AI safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.