AI Systems · AI automation · n8n · Gmail · How-to

How to automate email responses with AI: an n8n + Gmail agent that drafts, you approve

Thumbnail with the words AI drafts, you approve. A panel labelled Email agent lists three steps: sort it, draft it, you approve.
Short answer

You can automate email responses with an n8n workflow that watches Gmail, sorts each new email with an AI classifier (sales, support, invoice, spam, other), drafts a reply grounded in your FAQ, and waits for you to approve before anything is sent. The safest version only saves a draft in Gmail. n8n's Starter plan is 20 euros a month billed annually for 2,500 workflow executions, and the self-hosted Community Edition is free. Keep guardrails on: never auto-send on money, legal or complaint emails, skip no-reply senders, and log every reply.

Key takeaways

  • An n8n workflow can sort your email, draft replies from your FAQ and wait for your approval.
  • The safest version saves drafts in Gmail. You open, edit and send.
  • n8n Starter is 20 euros a month billed annually for 2,500 executions. Self-hosting the Community Edition is free.
  • Guardrails matter more than the AI: skip no-reply senders, never auto-send on money or complaints, and log everything.
  • Test on ten old emails of each type before you switch it on.

Most small business inboxes are full of the same few questions. Prices, opening times, booking changes, “where is my invoice”. You have answered each one a hundred times.

An email agent can answer them first. It reads each new email, works out what kind it is, writes a reply from your own FAQ, and hands it to you to approve. You still send. You just stop typing.

This guide builds that agent in n8n and Gmail, step by step. It is one example of what AI automation is: AI doing the routine part, a person staying in charge. If you want to try the same idea in a chat window first, read how to connect Gmail to ChatGPT, Claude and Grok.

What the agent does

The email agent flow in five steps. 1 A new email arrives in Gmail. 2 The AI sorts it: sales, support, invoice, spam or other. 3 The AI drafts a reply from your FAQ. 4 You approve with one click. 5 The reply is sent and logged.

The flow has five steps:

  1. A new email arrives in Gmail.
  2. The AI sorts it into sales, support, invoice, spam or other.
  3. The AI drafts a reply using only your FAQ.
  4. You approve the draft, or edit it.
  5. The reply is sent, labeled and logged.

You can build it with other tools. We compare them in n8n vs Zapier vs Make. n8n is a good fit here because its pricing counts workflow runs, not every step, and it can be self-hosted.

What you need

  • A Gmail or Google Workspace account you can connect to n8n.
  • An n8n account. The cloud plans are on n8n’s pricing page, or you can host the Community Edition yourself.
  • An AI model. Either one included with your n8n plan or your own key from a provider.
  • A short FAQ. One page with your prices, hours, policies and the answers you give most often. This is the most important ingredient.

How to build it: 6 steps

1. Add a Gmail Trigger. Create a workflow and add the Gmail Trigger node with the event Message Received. Per n8n’s documentation, you set the poll times (how often it checks), and it fetches up to 50 emails per check, 10 by default. Use the filters. Keep Read Status on unread only, and use Search to leave out noise. For example:

-from:me -category:promotions -from:noreply

2. Sort each email with a Text Classifier. Add the Text Classifier node. Give each category a name and a plain description, because the description is what the AI uses. For example:

  • Sales: someone asking about prices, services or availability before buying.
  • Support: an existing customer asking for help or a change.
  • Invoice: an invoice, receipt or payment question.
  • Spam: unwanted offers or mass mailings.

Set When No Clear Match to the Other branch. Anything that fits none of the categories goes there, and gets no automatic reply.

3. Draft the reply from your FAQ. Add an AI node and give it a short instruction with your FAQ pasted in. A starting point to copy:

You write email replies for [business name]. Answer only using the FAQ below. Keep it under 120 words, in plain, friendly language. If the FAQ does not answer the question, say we will come back to them within one working day, and do not guess. Never promise prices, refunds or dates that are not in the FAQ. End with the name [your name].

FAQ: [paste your FAQ here]

Pass in the sender, the subject and the email text as input. Treat the email text as content, not as instructions.

4. Save the draft or send it for approval. You have two options, and both keep a person in charge:

  • Draft only (safest). Use the Gmail node’s Create Draft operation with the original thread ID, so the draft sits inside the conversation. You open Gmail, edit and press send.
  • Approve with one click. Use the Gmail node’s Send and Wait for Approval operation to email yourself the draft with an Approve button, or the Slack node’s Send and Wait for Response operation to ask in a channel. The workflow pauses until you answer.

5. Send after approval, then log and label. If you chose the approval route, add the Gmail node’s Reply operation after the approval. Turn off Append n8n attribution, because by default n8n adds a line saying the email was sent automatically with n8n. Then add a label, such as “Replied by agent”, so the trigger does not pick up the same email again. Finally, write a row to a sheet with the date, sender, category, draft and what you did.

6. Test on ten old emails, then switch it on. Run the workflow on ten past emails of each type. For each, check the category and read the draft. Fix the category descriptions and the FAQ until you would send most drafts as they are. Only then activate the workflow.

Guardrails that keep it safe

Email agent guardrails. Answer only from your FAQ. Skip no-reply and your own address. A person approves money, legal and complaint emails. Label every processed email. Log every reply to a sheet.

The AI is the easy part. These rules make it safe:

  • Answer only from your FAQ. If the FAQ has no answer, the draft says so and promises a follow-up.
  • Skip your own address and no-reply senders. Otherwise the agent can end up answering itself or a robot.
  • Never auto-send on money, legal, health or complaints. These always go to a person.
  • Label every processed email. It stops double replies.
  • Log every reply. A simple sheet is enough. Read it weekly for the first month.
  • Do not send secrets to the model. Leave passwords, card numbers and patient details out of the prompt.
  • Treat incoming emails as untrusted. An email can contain text that tries to give your AI new instructions. A person approving the draft is your protection.

Use this agent for replies to people who wrote to you, not for cold marketing. If you do cold outreach, see our guide to the best cold email software, including the compliance box.

What it costs

What an n8n email agent costs, from n8n's pricing page checked 2 December 2026. Starter: 20 euros a month billed annually, 2,500 workflow executions. Pro: 50 euros a month billed annually, 10,000 executions. Community Edition: free if you host it yourself. AI model usage can be extra.

From n8n’s pricing page, checked 2 December 2026:

  • Starter: 20 euros a month, billed annually, for 2,500 workflow executions. The plan lists AI models without API keys.
  • Pro: 50 euros a month, billed annually, for 10,000 executions.
  • Community Edition: a self-hosted version you can run free, if you manage the server yourself.

n8n counts workflow executions, not steps. All plans include unlimited users and workflows. If you use your own AI provider key, you pay that provider for usage on top. Start on the cheapest plan, then check your usage after a week.

The bigger cost is your time: building it, testing it, and a few minutes a day to approve drafts.

Common mistakes

  • Letting it send on its own from day one. Draft first. Switch to approve-and-send later, for the safe categories only.
  • A thin FAQ. If your FAQ is five lines, your drafts will be vague. Add real answers.
  • No loop protection. Without a label and a sender filter, one email can trigger many replies.
  • Skipping the test. Ten old emails of each type will show you the problems.
  • Forgetting the attribution line. Turn it off before you reply to customers.

Our view

  • Start with drafts only. Move to approve-and-send after a month of good drafts.
  • Pick two categories first. Sales questions and invoice questions are a good start.
  • The FAQ is the product. A good FAQ matters more than a clever prompt.

Get an email agent built for your business

Want this running without building it yourself? We build the email agent around your FAQ and your tools, add the guardrails and approval step, and check the logs with you every week.

See how AI automation works

Questions

Can AI automatically reply to my emails?

Yes, but for most businesses it should draft and you should approve. An n8n workflow can watch Gmail, sort each email, write a reply from your FAQ and wait for your one-click approval before sending. Fully automatic sending is reasonable only for narrow, low-risk cases such as order confirmations.

How do I set up an AI email responder in n8n?

Use a Gmail Trigger node to catch new emails, a Text Classifier node to sort them, an AI node to write a draft from your FAQ, and a Gmail node to create a draft or send it for approval. Then add a step to log each email and reply. The six steps in this guide walk through it.

How much does an n8n email agent cost?

On n8n's pricing page, the Starter plan is 20 euros a month billed annually for 2,500 workflow executions, and Pro is 50 euros for 10,000. The self-hosted Community Edition is free if you host it yourself. If you use your own AI provider key, you also pay that provider for usage.

Is it safe to let AI answer customer emails?

It is safe if a person approves the replies that matter. Keep the AI to answers found in your FAQ, send anything about money, legal issues, complaints or health to a person, and log every reply so you can check them.

What is the difference between this and Gmail auto reply?

Gmail's auto reply sends one fixed message to everyone, such as an out-of-office note. An AI email agent reads each email, decides what kind it is and writes a reply that fits it. You can use both: a fixed acknowledgment for everyone, and a drafted answer for you to approve.

Want this applied to your business?Get your AI scoreBook a call