Regulated teams are often told they must choose between AI productivity and compliance. This scenario, drawn from a use case we designed with lending operations in mind and described here without identifying anyone, shows that the choice need not be made if the controls are designed in from the start.
The problem
A loan processing team shares several mailboxes: brokers chasing approvals, borrowers sending documents, valuers, solicitors, and the occasional regulator or complaint. Volumes spike around rate changes. The team's service commitments depend on first-response times, and mail sits unanswered when people are busy.
AI could clearly help: sort mail by type and urgency, route it to the right officer, draft routine replies. But some messages carry special obligations. A customer in financial hardship, a formal complaint, a legal notice, a regulator's letter or a fraud report must be handled by trained people under specific rules. In Australia, for example, ASIC's Regulatory Guide 271 sets requirements for how complaints are identified and handled (asic.gov.au). The compliance officer's rule is clear: those messages must not be read, summarised or drafted by a model at all.
The design principle: keep sensitive mail away from every model
The key decision was where to put the line. Instructing a model to "ignore hardship emails" means the model reads them. Instead, the line sits before any model call:
- Deterministic detection first. The lender defines sensitive classes (hardship, complaint, legal, regulator, fraud) with rules: phrases, senders, headers. These run on every message before anything else.
- Thread-level protection. If any message in a thread is sensitive, the whole thread is. A borrower's polite follow-up to a hardship request carries no hardship words of its own, but it belongs to the same matter.
- One gate for model access. Every piece of code that wants to put message text into a prompt must ask a single guard. The guard re-checks the current rules, refuses sensitive messages and threads, writes an audit entry, and only then returns text. If the guard is not present, no text is available.
- People can add, only compliance can release. An officer who spots a sensitive message the rules missed flags it, and it is quarantined at once. Only the compliance officer can release a false positive, and the release is recorded.
Sensitive mail still gets handled: it goes straight to the right trained person's queue, with its deadline, untouched by any model.
Everything else: triage, drafts and a person on every send
For the remaining mail, AI does what it is good at:
- Categorise and score urgency against the lender's own categories (rate requests, missing conditions, settlement, valuation and so on).
- Route to the owning officer's queue as one activity per thread.
- Draft a reply, listing the facts it used and where each came from.
No reply leaves without a person. The officer approves, edits, discards or escalates each draft, and the approval covers that exact text. This is the same exact-action approval described in Letting agents act without losing control. The platform never changes a person's mailbox by default: it does not mark mail read, move or flag it.
Model choice is part of the governance too. Classification can run on a local model inside the lender's own environment, keeping even routine mail on its own hardware; see Bring your own model.
Measured, and auditable end to end
Success is not "the AI handled 500 emails". It is the inbox state, read from the data: unanswered age, first-response time by mailbox and officer, and the share of drafts accepted without edits, which tells the team whether drafting is genuinely helping.
Every step (ingest, classification, sensitive-class decision, model access, draft, edit, approval, send) is an append-only audit entry with its actor: a person, a rule, a model or an agent. A compliance officer can take any message and see exactly what touched it, and confirm that no model ever did if it was sensitive. That is the ledger idea from The ledger: explainability and audit for autonomous work, applied to mail.
Agents, too, work inside the line
A team will also want its own assistants, and eventually other agents, to work the inbox: list the queue, open an activity, propose a draft, record a decision. Every one of those capabilities is a tool, but each tool goes through the same guard and checks the same permission an officer would need on screen. An agent asked to summarise a sensitive thread gets a refusal that names the reason, not the text. That matters, because the moment an agent can reach data by a side door the whole design is only as strong as the agent's instructions.
Lessons for any regulated team
- Put the hardest rule in code before the model, not in the prompt.
- Protect at the level of the matter (the thread, the case, the customer), not the single item.
- Make one gate the only path to the model, and fail closed if it is missing.
- Keep a person on every external action until the evidence justifies more.
- Measure the service outcome, not the AI's activity.
Where this leads
This design is built into Saledge's omnichannel email governance: sensitive classes defined by the lender, a single guard through which any inbox text must pass before reaching a model, thread-level protection, compliance-only release, drafts approved by a person, inbox metrics, and an audit entry for every step. Every one of those capabilities is also a tool, under the same permissions, so an agent can operate the inbox without being able to read what it must not.
- Read next: Letting agents act without losing control, The ledger and Bring your own model.
- See industry solutions: Solutions.
- Measuring a customer service agent: The scorecard before the pilot.
- Working beside a contact centre: Beside the contact centre.