Templates / Organize Gmail inbox labels with Jev TypeSafe AI (System One)

Organize Gmail inbox labels with Jev TypeSafe AI (System One)

Ready for 3.0

by Niranjan G ✓ · 274 views · created 2026-09-20 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (every minute). Along the way it connects Gmail. It also calls api.typesafe.ai over HTTP.

How it runs

Trigger: On a schedule (every minute).

  1. Fetch Unlabelled Emails (Gmail): get many
  2. Classify Email with Jev (HTTP Request): calls api.typesafe.ai (POST)
  3. Decide Label from Confidence (Code): runs custom JavaScript code
  4. List Gmail Labels (Gmail): work with label
  5. Find Missing Labels (Code): runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. Create Gmail Label (Gmail): create (label)
  8. Reload Gmail Labels (Gmail): work with label
  9. Resolve Label Ids (Code): runs custom JavaScript code
  10. Apply Label to Email (Gmail): add labels

…plus 1 more step. See the full node list below.

Services it uses

Gmail

HTTP calls to: api.typesafe.ai

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Quick overview This workflow runs every five minutes to find unlabelled Gmail messages, classifies each email with TypeSafe Jev (System One), creates any missing Gmail labels, and applies the chosen label based on model confidence so your inbox is…

Excerpt from Niranjan G's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.