← Back to library

Shared inbox replies drafted by AI, sent only after a yes

On the n8n forum, Anthony Höhener, who builds workflows for small Swiss and German firms, described a shared-mailbox setup where the model only classifies and drafts. A person gets an editable approval form, a reminder follows after hours, and unanswered mail is logged for follow-up. He also published it as a free n8n template.

  • OutcomeHave an n8n workflow sort every email to a shared address such as info@ into a few case types, drop spam, write a brief draft from your own answer notes, matching the language the customer wrote in, and email the draft to a named person who edits and approves it, with a reminder and a logged expiry if nobody responds.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditanthonyhoehener
View original
Works with
n8nChatGPTCustom agent

Published Nov 23, 2026Updated Nov 23, 2026AI dry run on sample input: passed Nov 23, 2026Source verified Nov 23, 2026

When should you use it?

  • A general mailbox gets the same few kinds of question every day and answering them eats someone's morning
  • You want faster replies but will not let a model write to customers unsupervised
  • Several people share one inbox and you need a clear record of who approved what

Not for: Mailboxes full of one-off, sensitive matters such as legal disputes, where a draft adds little; Teams with no one available to approve drafts during the day; the queue just expires; Fully automatic replies; this design keeps a person on every outgoing message

What do you need, and what do you get?

You need

  • IMAP and SMTP access to the shared mailbox, or a Gmail or Outlook trigger
  • A model key, or a local model if mail must stay in-house
  • A short table of your standard answers: pricing policy, opening hours, booking steps
  • The approver's email address and your reminder and expiry times

You get

  • Each message tagged by case type, for example a price quote, a booking, a complaint, a billing question, general or spam
  • A brief draft in the customer's own language, sent to the approver as an editable form
  • Approved replies sent from the shared address; declined or expired ones logged for manual handling

How does it work, step by step?

  1. Import the templateStart from the author's free template linked on the forum post, then connect the mailbox, model and sending account.
  2. Write your answer notesReplace the example knowledge table with your own short answers. Drafts are only as good as these notes.
  3. Set the approver and timersName who approves, then choose when a reminder goes out and when an unanswered item expires to the manual list.
  4. Test with a week of old mailForward a sample of past messages to a test inbox. Check the case labels, read every draft and note what you edited.
  5. Go live and watch the editsRun it on the real inbox with every reply still approved by hand. Review the edit rate per case type each week before changing anything.

The prompt

Our own prompt, inspired by anthonyhoehener and written to work in n8n, ChatGPT and Custom agent. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt5 variables
You handle incoming mail for {company_name}'s shared address {shared_address}. For each new message:
1. Label it as one of: price quote, booking, complaint, billing question, general, spam. If unsure, use general and add a note saying why.
2. For spam, stop. Draft nothing.
3. Otherwise draft a reply of at most {max_sentences} sentences, in whatever language the customer used, using only facts from {answer_notes}. If the notes do not cover the question, say a colleague will follow up instead of guessing.
4. Return the label, the draft and anything the approver should check, such as a price, a date or an angry tone.
Never send anything yourself. {approver_name} approves or edits every reply before it goes out.

Inspired by anthonyhoehener: n8n Community: human-in-the-loop email triage and guardrails for AI-drafted replies. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Letting a stale approval send hours later. Make sure a click after expiry does nothing and tells the approver why.
  • Trusting the case label blindly. If the model returns something unexpected, route it to the general bucket and flag it rather than guessing.
  • Replies that break the email thread. Plain SMTP may not set threading headers, so check how answers appear in the customer's mail app.
  • Thin answer notes. Without them the model invents policy; keep prices and dates in the table, not in the prompt.

Our take

This is the version of AI email help we would recommend to most small offices first. The model does two narrow jobs, labeling a message and writing a short answer from notes you control, and a named person decides what leaves the building. The details show real thought about what goes wrong: an invalid label falls back to a general bucket and gets flagged, spam never gets a draft, and an approval nobody answers expires into a manual list instead of sending or vanishing. Two refinements from the thread are worth adopting on day one. Make late clicks after expiry do nothing, and keep the draft beside the sent version so you can see, per case type, how often people change it. That number, not a gut feeling, is what should decide whether any category ever earns lighter review. The open threading issue with plain SMTP is real, so test how replies look in the customer's inbox. In our dry run on a fictional plumbing firm's info@ mailbox, it labeled six emails, skipped the spam, drafted German and English replies from the answer table, and flagged one unclear message for the approver.

Where the time goes back: Routine questions arrive already sorted with a usable draft, so the person on inbox duty reviews and clicks instead of writing each answer from scratch.

FAQ

Does anything go out without a person?
No. Every reply waits for an approver's decision, and items nobody answers are logged as expired for follow-up by hand.
Can it run on a local model?
The author says any chat model n8n supports will do, including a local Ollama model when mail cannot leave your own servers.
How do we know when a case type could need less review?
A commenter suggested storing the draft next to the approved version. Track how often each case goes out unchanged before relaxing anything.

Source and credit

Inspired by anthonyhoehener. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
n8n Community: human-in-the-loop email triage and guardrails for AI-drafted replies
Creator
anthonyhoehener
Published on
n8n Community
Original date
Nov 23, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
n8n
AI dry run
Nov 23, 2026: passed. Dry-run tested by our AI test agent on sample input. Correct labels, spam skipped, sender's language kept, no invented policy, unclear case flagged, every reply left for approval; simulated model step and synthetic mail only.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Nov 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Customer Support

All 28 Customer Support playbooks →

Related playbooks

Customer SupportPrompt✓ AI dry run

Find the bugs in your intake chatbot with one test chat per rule

Write a small set of test chats, each aimed at one rule in your bot's field spec with the stored values you expect written down first, and catch errors a large pile of happy-path chats misses.

Credit: Adam (Adam13y)

Under an hour
Customer SupportWorkflow✓ AI dry run

Stop a booking agent from double-booking after a timeout

Change an appointment agent so that a timed-out booking call counts as unknown rather than done, the agent tells the customer a person will confirm instead of saying they are booked, every write carries a request key so a retry cannot create a second appointment, and a forced-timeout test runs after every workflow change.

Credit: ccch713

An afternoon+
Customer SupportWorkflow✓ AI dry run

Book tutoring sessions through a WhatsApp chat agent

Let parents and students book, move and confirm lessons in WhatsApp with an agent tied to the tutoring calendar and its booking rules.

Credit: MarcoKueks on Hacker News

An afternoon+
Customer SupportWorkflow✓ AI dry run

Sort repair-shop web requests and reply right away

Classify each incoming service request by job type and urgency, file it, send the customer an immediate reply, and route unclear or out-of-scope requests properly.

Credit: yrn_Holar (@ho_lar_s)

An afternoon+
Customer SupportWorkflow✓ AI dry run

Take food orders from Instagram DMs with an AI agent

Answer delivery customers in Instagram DMs instantly, using your menu, allergens and delivery zones, and pass each confirmed order on for preparation.

Credit: u/timhartmann7 on r/AI_Agents

An afternoon+