Templates / Smart email draft generator

Smart email draft generator

Ready for 3.0

by Oneclick AI Squad ✓ · 13,110 views · created 2025-06-24 · Ticket Management, Multimodal AI

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 AI workflow has 5 nodes and runs when a new email arrives over IMAP. Along the way it connects Ollama Model and Gmail.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Process Email with AI (Basic LLM Chain): sends a prompt to an LLM, with model: Custom AI Model
  2. Prepare Email Content (Edit Fields (Set)): sets 3 fields: from, subject, text
  3. Save as Gmail Draft (Gmail): work with draft

Services it uses

Ollama ModelGmail

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

AI-Powered Email Draft Automation Workflow In this guide, we’ll walk you through setting up an AI-driven workflow that automatically processes incoming emails using a custom AI model (e.g., Llama), prepares email content, and saves it as a Gmail draft. Ready…

Excerpt from Oneclick AI Squad'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.