Insights · Nov 17, 2026 · 4 min read · FAQ

AI triage for a shared inbox: classify, route and draft replies

When leads get lost in info@ or support@, AI can label each email, pull out the details, route it and draft a reply. A person still sends it.

INBOX TRIAGESort, route, draft, approve SELLWRIGHT

A shared address like info@ or support@ belongs to everyone, so it often belongs to no one. A sales enquiry sits behind vendor pitches, a billing question waits because each person assumes someone else has it, and applicants never hear back. AI triage reads each new email, labels it, pulls out the details, suggests an owner and drafts a reply for a person to send. Here is what we set up, in order.

Which categories should the AI sort emails into?

Your own, written from real past emails. Export a few weeks of the inbox and sort it by hand. Most small teams end up close to this:

  • Sales enquiry: a new prospect asking about work or a quote.
  • Existing customer request: a question or change from a current customer.
  • Invoice or billing: payments, receipts and statements.
  • Job application.
  • Spam or vendor pitch.
  • Needs a person: anything that fits nowhere else, plus the cases below.

Define each category in one line, add a few anonymised examples and give each an owner. Decide what wins when an email fits two: an unhappy customer writing about an invoice is a complaint first, so Needs a person wins.

What should the AI step return for each email?

A short, fixed record, not a paragraph: category, urgency, key details (name, company, order or ticket number), a one-line summary, a suggested owner and a flag when the model is unsure.

{
  "category": "sales_enquiry",
  "urgency": "normal",
  "name": "Dana Reyes",
  "company": "Reyes Dental Group",
  "order_or_ticket": null,
  "summary": "Wants a quote for a booking website before March.",
  "suggested_owner": "sales",
  "unsure": false
}

Your code checks the record before anything touches the mailbox: an unknown category, a missing field or an unsure flag sends the email to Needs a person. Details come only from the email: no order number means an empty field, not a guess.

How does routing work inside Gmail or Microsoft 365?

Through the mailbox's own tools, so the team keeps working where it already does.

  • Gmail and Google Workspace: the Gmail API applies labels, such as Sales or Owner: Sam, to a message or a whole thread. A thread label does not carry over to later replies, so label each new message too.
  • Google Groups: in a group set up as a collaborative inbox, members with permission can assign a conversation to a colleague, who is emailed about it, and mark it complete.
  • Microsoft 365 shared mailbox: Microsoft Graph can read and update messages in shared mailboxes, add Outlook categories and move messages into folders.

Gmail can push a notification through Cloud Pub/Sub when the mailbox changes. The watch must be renewed at least every 7 days, and Google advises a periodic history check as a fallback because notifications can be delayed or dropped. Microsoft Graph offers change notifications for messages. A scheduled check works too.

Why should replies stay as drafts?

Because a sent email cannot be taken back, and the model will sometimes misread one. In Gmail, drafts.create saves an unsent message; to sit in the customer's thread it needs the thread ID, a matching subject and correct References and In-Reply-To headers. In Microsoft Graph, createReply creates a draft reply, and sending is a separate call our code never makes.

A person edits the draft if needed and presses send. Approval deadlines and logs are covered in human approval for AI agents.

Some emails get no draft at all: anything where a wrong answer costs money, trust or legal standing. These go to a person with a summary and an owner:

  • refunds, credits, disputes and anything else about money;
  • complaints, however politely worded;
  • anything legal: contracts, formal notices, data requests;
  • anything the model marks unsure, or whose record fails your checks.

Email text is untrusted input. Anyone can write a message aimed at the AI, so triage only labels and drafts and never follows instructions inside an email. We explain why in prompt injection and AI assistants.

What access should the triage connection have?

The narrowest access that does the job, on an app registration or service account made for triage rather than a staff member's login, so it survives staff changes.

  • Gmail: Google advises the most narrowly focused scope. Labelling messages takes gmail.modify, which can read and create drafts but cannot bypass the trash to delete mail permanently; full https://mail.google.com/ access can. Every Gmail scope that creates drafts also allows sending, so the no-send rule lives in your code.
  • Microsoft 365: Mail.ReadWrite covers reading, categories and draft replies, and excludes sending. As an app permission it reaches every mailbox in the organisation, so have your Exchange admin grant it only through RBAC for Applications, scoped to the shared mailbox.
  • Your AI provider: check its data terms, such as retention and training use, before customer email goes through it.

How do you know the triage is working?

A person checks a sample every week: right category, right owner, correct details, usable draft. Record each correction and update the category definitions and examples to match. If Needs a person keeps growing, a category is missing or unclear. Before launch, run the same check on past emails the model has not seen.

Where to start

Export a few weeks of your shared inbox, sort it into categories, name an owner for each and mark which never get a draft. Our AI automation and agents service builds triage on your Gmail or Microsoft 365 mailbox: the model labels and drafts, your code checks its work, and a person on your team sends every reply.

FAQ

Frequently asked questions

Do we need a help desk tool for AI email triage?

Not always. If your team already works in Gmail or Outlook, labels or categories plus drafts in the shared mailbox can be enough, and nobody has to learn a new tool. A help desk makes more sense once you need ticket numbers, response-time targets or reporting across a larger team. If you already use one, run triage there instead.

Can the AI send simple replies without a person?

Not in the setup we build. Every reply is saved as a draft and a person sends it, because one wrong email to a customer costs more than the minutes saved. What changes over time is the review itself: the weekly checks show which categories rarely need edits, so reading and sending those drafts gets quicker.

What about attachments such as CVs and invoices?

Start by routing on the email text and the fact that a file is attached, without the model reading the file. A CV can go straight to whoever handles hiring and an invoice to accounts. Reading attachment contents is a separate step with its own accuracy checks and data questions, so add it only when routing alone is not enough.

Does the AI see every email in the shared mailbox?

It sees only what your code passes to it. We usually limit triage to new inbound messages in the inbox and skip internal mail, newsletters and anything already handled. Gmail push notifications can be filtered to inbox changes, and the same rules keep customer data you do not need away from the AI provider.

What happens when someone on the team leaves?

Very little, if the connection was set up properly. Because triage runs on its own app registration or service account rather than a staff login, it keeps working. Update the owner list so their categories go to someone else, remove their access to the shared mailbox, and pick up any drafts or conversations still waiting on them.

Do we have to tell customers that AI reads their emails?

Rules vary by country, so check the ones that apply to you and update your privacy notice if needed. Whatever the rules say, customers only receive replies a person has reviewed and sent, and knowing your AI provider's data terms lets you describe accurately what happens to their email.

Next step

Ready for a website that sells?

Book a short call. We will look at your current site, agree what matters most and send a written scope with a fixed quote.

Book a callOr write to hello@sellwrightstudio.com