Skip to content

Automation7 min read

AI email triage: how to sort, route and answer a shared inbox without losing control

A practical guide to classifying shared-inbox emails with AI, extracting the data inside them, drafting replies for review and keeping people in charge of what goes out.

Ryze Labs engineering team

Key takeaways

  • Most of the value in email triage comes from reliable classification and routing, not from fully automatic replies.
  • Drafted replies should be reviewed by a person by default, with automatic sending limited to narrow, low-risk cases you have measured.
  • Every incoming email is untrusted input, so the system needs limited permissions, prompt-injection defences and a full log of what it did.

Shared inboxes such as orders@, info@ and invoices@ collect everything: purchase orders, complaints, supplier questions, spam and replies to threads from last month. Someone has to read each message, decide who should handle it, copy data into another system and often write a reply. When that person is on holiday or busy, emails wait and customers notice.

What email triage actually involves

Triage is a sequence of small decisions that people make in seconds without thinking about it. Breaking it down shows which parts are suitable for automation and which are not.

  1. Read and understand: what is this email about, and is it new or part of an existing case?
  2. Classify: is it an order, a complaint, an invoice, a delivery question, a sales lead or noise?
  3. Prioritise: is it urgent, does it come from a key customer, is there a deadline?
  4. Route: which team or person owns it, and in which system should it appear?
  5. Extract: which data needs to go elsewhere, such as order lines, a tracking number or an invoice amount?
  6. Respond: does it need a reply, and can that reply be standard?

The first five steps are mostly about understanding and moving information. That is where language models are strong and where mistakes are usually cheap to fix. The sixth step speaks for your company, so it deserves more care.

Classification and routing

A language model can read the subject, body and attachments and assign a category from a list you define. The list matters more than the model: it should match how your teams actually work, with clear definitions and an explicit category for anything unclear.

CategoryTypical signalsRouted to
New orderOrder numbers, product codes, quantities, an attached POSales back office, order entry
Delivery questionTracking number, where is my order, delivery dateCustomer service
Complaint or returnDamage, wrong item, refund requestService lead, with priority flag
Supplier invoicePDF invoice, payment terms, bank detailsAccounts payable
UnclearLow confidence or several topics in one emailA person who sorts it manually

Two cases need explicit handling. When one email covers several topics, such as a new order plus a complaint about the last delivery, the system should either split it into separate cases or send it to a person. When the model is not confident, it should say so and choose Unclear rather than force a category, because a wrong queue costs more time than a manual sort.

Routing then becomes a rule: category plus customer plus urgency decides the queue, the assignee or the ticket in your helpdesk or CRM. Keep the routing rules outside the model, in plain configuration, so a team lead can change them without touching prompts. Thread awareness matters too: a reply to an open case should go to the person already handling it.

Extracting the data inside emails

Many emails are really documents in disguise. An order email lists products and quantities, a delivery question contains a tracking number, and an invoice email carries a PDF. Extraction turns that content into structured fields and creates a draft record, for example an order in your ERP or a ticket linked to the right shipment.

Apply the same discipline as for any document: a fixed schema, validation against master data and open orders, and a review step for anything that does not match. Attachments such as invoices and delivery notes can go through the pipeline described in our article on AI document processing. For transport companies, where order emails and delivery questions arrive all day, AI in logistics follows the whole flow from order intake to proof of delivery.

Drafting replies

A model can draft a reply using the email, the case history and approved information such as order status, delivery dates or your returns policy. The draft appears in the agent's inbox or helpdesk ready to edit, which often saves the typing while leaving the judgement with the person.

  • Ground the draft in data: pull order status and dates from your systems instead of letting the model guess.
  • Use approved templates and policies as the source for anything about prices, refunds or legal terms.
  • Match the customer's language: a German supplier gets a German draft, a Romanian customer a Romanian one.
  • Show the sources next to the draft so the reviewer can check facts quickly.
  • Never promise refunds, discounts or delivery dates that are not confirmed in a system.

Keeping people in control

The safest pattern is graded autonomy. The system classifies and routes everything, drafts replies for most categories, and sends automatically only in narrow cases, such as acknowledging receipt or sending tracking information that comes straight from your systems. Everything else waits for a person.

Decide these levels per category, with a named owner who can change them. Log every classification, draft, edit and send, and review a sample each week. If replies go out without review, people should be able to tell they are dealing with an AI system; our article on AI transparency in chat, voice and email explains the EU AI Act Art. 50 rules that apply since 2 August 2026. For approval design in general, see human-in-the-loop AI.

Example

Illustrative example: a 25-person wholesaler

A fictional wholesaler receives orders, delivery questions and supplier invoices in one inbox. In phase one, the system only labels and routes emails while the team keeps working as before. In phase two, it creates draft orders in the ERP and drafts replies to delivery questions. In phase three, receipt confirmations with tracking links are sent automatically, and everything else still goes through a person.

Security and privacy

Every incoming email is written by someone outside your company, which means it can contain instructions aimed at the AI, such as asking it to forward data or ignore its rules. This is prompt injection, and the defence is architectural: the triage system should have only the permissions it needs, should never act on instructions inside emails, and should not be able to send to arbitrary addresses. Our guide to prompt injection and tool permissions goes deeper.

Emails also contain personal data. You need a lawful basis under Art. 6 GDPR, a data processing agreement with any AI provider under Art. 28, and clarity about where data is processed and how long logs are kept. Discuss the setup with your DPO before you connect a live mailbox.

How to start

  • Export a few hundred recent emails from one shared inbox and label them by hand to see the real categories.
  • Write a category list with definitions and an explicit Unclear option.
  • Run classification in shadow mode for two to four weeks and compare it with what people actually did.
  • Add routing and data extraction for the categories with the most volume.
  • Introduce drafted replies and measure how much they are edited.
  • Allow automatic sending only for narrow categories where your own measurements support it.

If you want help connecting your mailbox, helpdesk and ERP into a triage flow with proper logging and approvals, that is part of what we build as AI automations. For cases where the system needs to look things up across several tools before drafting, an AI agent may fit better.

General information, not legal, tax or investment advice.

FAQ

Questions people ask

It can, but automatic replies should be limited to narrow, low-risk cases such as receipt confirmations or tracking updates based on data from your systems. For everything else, AI-drafted replies reviewed by a person are usually the safer choice. If replies go out without review, make sure people know they are dealing with an AI system.

Yes. Microsoft 365 and Google Workspace both offer APIs to read, label and move messages and to create drafts. A triage system typically connects through those APIs with a dedicated service account and limited permissions, rather than through a personal login.

It depends on how clear your categories are and how varied your emails are. The only reliable way to know is to label a sample of your own emails and run the system in shadow mode against it. Keep an Unclear category so low-confidence emails go to a person instead of the wrong queue.

How we can help

Services related to this article

  • AI Automations

    Workflows across email, documents, CRM, ERP and finance — without the copy-paste.

  • AI Agents

    Agents that use your tools to finish tasks, with guardrails and human sign-off.

Read next

Want to apply this to your company?

Tell us which process slows you down. We reply within one business day with questions or a first idea of how we'd approach it.