🎫 Auto-label Gmail with Ollama AI and draft smart replies

⚑ 74 views · 🎫 Ticket Management & Triage

Description

Who is this for

This workflow is built for professionals, founders, freelancers, and anyone drowning in email who wants to automatically triage their inbox using AI β€” sorting emails into categories, applying Gmail labels, and generating reply drafts for important messages, all running locally with Ollama (zero paid API costs).

What this workflow does

It watches your Gmail inbox for new unread emails, uses a local AI model (Ollama) to classify each email into one of six categories (Urgent, Action Required, Follow-up, Newsletter, Automated, or Spam/Promotional), automatically applies the matching Gmail label, generates reply drafts for high-priority emails, and logs every processed email to Google Sheets for analytics.

How it works

Setup steps

Requirements

How to customize

πŸ”— Nodes Used

Google Sheets, Gmail, Gmail Trigger, AI Agent, Ollama Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup