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?
- Import the templateStart from the author's free template linked on the forum post, then connect the mailbox, model and sending account.
- Write your answer notesReplace the example knowledge table with your own short answers. Drafts are only as good as these notes.
- Set the approver and timersName who approves, then choose when a reminder goes out and when an unanswered item expires to the manual list.
- 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.
- 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)
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?
Can it run on a local model?
How do we know when a case type could need less review?
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.