▶ Stepthrough All tutorials Blog Glossary Prompts Videos Visual guides Start Learning Free

5 Steps to an AI Email Responder That Only Writes Drafts

A visual guide: an n8n agent reads each new Gmail message and saves a reply as a draft in the same thread. You read it and click Send.

  1. n8n + Gmail. An AI email responder that only writes drafts. Greenline Pest Control (made up) gets the same questions every day. 5 steps to a reply waiting under each one.
    Slide 1 of 7
  2. Step 1. Watch the inbox with a Gmail Trigger. Pick the business inbox, then Fetch Test Event to see Dana's email as data: From, Subject, snippet and threadId. Screenshot: Customer email to Greenline Pest Control asking if they cover Maple Grove for ants in the kitchen.
    Slide 2 of 7
  3. Step 2. Feed each email to an AI Agent. Set Source for Prompt to Define below and pull in From, Subject and the message with expressions. Screenshot: n8n AI Agent prompt that feeds the sender, subject and body of each new Gmail message.
    Slide 3 of 7
  4. Step 3. Give it a drafts-only tool. A Gmail Tool with the resource set to Draft, and Thread ID set so the draft lands in the same conversation. Screenshot: n8n workflow run successfully: Gmail trigger, AI Agent, OpenAI model, memory and a Gmail draft tool.
    Slide 4 of 7
  5. Step 4. Write the rules. Who it is, what it knows, the rules (drafts only, never make up prices, dates or services) and how to write. Screenshot: AI Agent system message giving Greenline Pest Control's service areas, prices and reply rules.
    Slide 5 of 7
  6. Step 5. Read the draft, then publish. Dana's draft says yes to Maple Grove, $149 for the first visit, and asks for her address. You send it. Screenshot: Gmail draft written by the agent in the same thread, quoting $149 ant treatment for Maple Grove.
    Slide 6 of 7
  7. Build the email responder in a practice copy of n8n and Gmail. AI Email Responder. 63 steps, about 12 minutes. Free at learn.ynteractive.com.
    Slide 7 of 7

Swipe or scroll sideways for all 7 slides. The whole guide is written out below.

The guide in text

Greenline Pest Control (made up) gets the same questions every day. 5 steps to a reply waiting under each one.

Step by step

  1. Watch the inbox with a Gmail Trigger

    Pick the business inbox, then Fetch Test Event to see Dana's email as data: From, Subject, snippet and threadId.

  2. Feed each email to an AI Agent

    Set Source for Prompt to Define below and pull in From, Subject and the message with expressions.

  3. Give it a drafts-only tool

    A Gmail Tool with the resource set to Draft, and Thread ID set so the draft lands in the same conversation.

  4. Write the rules

    Who it is, what it knows, the rules (drafts only, never make up prices, dates or services) and how to write.

  5. Read the draft, then publish

    Dana's draft says yes to Maple Grove, $149 for the first visit, and asks for her address. You send it.

Businesses and people in the examples are made up (Greenline Pest Control is a made-up business). The steps, screens and wording come from the free lesson and the Stepthrough glossary and prompt library.

Do it yourself, free

AI Email Responder: Draft Gmail Replies Automatically with n8n. Build an n8n agent that watches your Gmail, reads each new customer email, and writes a reply as a draft in the same thread, ready for you to check and send. You do every step yourself in a practice copy of n8n, it checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, and nothing touches your real accounts.

Start the free lesson

Or read the full step-by-step guide

Plain-English definitions, each with an example from a free lesson.

The full AI glossary

All free prompt templates

From the blog

All visual guides · All free tutorials