← All posts
AI & Email Compliance

Guardrails for AI customer-service agents: where a pre-send check belongs

November 10, 2026 · 7 min read

Most teams building an AI customer-service agent think about guardrails as something that happens inside the model: a system prompt that says “do not make promises”, a fine-tune, a refusal policy. Those help, and they are not enough, because the failure that creates legal exposure is not the model misbehaving. It is the model behaving perfectly and still writing a sentence that binds the company, assures something it cannot support, or discloses something it should not. A well-aligned model will write “yes, we can hold that price for three years” with total confidence, because nothing in its training tells it that sentence is a three-year commitment.

So the useful guardrail is not only inside the model. It is a check on the output, between the moment the agent generates a reply and the moment that reply reaches the customer. This piece is about where that check sits, what it has to do, and the failure modes that quietly defeat it.

The one place the check has to be

An AI agent’s reply has a short lifecycle: a prompt comes in, the model generates a draft reply, and the reply is sent. A guardrail that reads the reply after it is sent is an archive, useful for the record and useless for prevention. A guardrail that only shapes the prompt beforehand cannot see what the model actually produced. The check has to sit in the gap: generated, not yet sent.

In practice that means one call on the outbound path. The agent produces its reply, the reply goes to the check, and what comes back is a list of findings, the sentences that create legal exposure, with the reason and a safer version. The agent’s own code then decides what to do: send as written if nothing fired, swap the flagged phrase, or hold the reply for a human if the finding is serious. The decision stays with your system, which is what keeps the responsibility, and the record of it, on your side.

Running it without slowing the agent to a crawl

The objection is always latency. A check adds a step, and a customer-facing agent is judged on speed. The pattern that resolves this is to run the check in parallel with your own generation and post-processing, not strictly after it, and to hold the reply only when a finding actually comes back. For the large majority of replies that are clean, the check overlaps with work you were already doing and costs almost nothing in wall-clock time. You pay the latency only on the replies that were going to be a problem, which is exactly where paying it is worth it.

There is a design decision underneath that: what to do when the check itself is slow or unavailable. This is where most integrations get it dangerously wrong.

The rule that matters more than any other: not checked is not clean

When the check cannot complete, because of a timeout, a rate limit, an outage, the response carries a status that means “not verified”, with no findings. The trap is to treat an empty findings list as a clean result and send the reply. That is the single most dangerous failure this kind of control can have, because an unchecked reply then looks identical to a verified-clean one, and the agent sends it with false confidence.

We shipped exactly this bug ourselves once, in a different product surface: an integration read the response body without checking the status code, so a rate-limited response, which carried no findings, rendered as “no risks detected”. The reply had never been checked, and the system reported it as safe. For a liability control, a false all-clear removes the very caution the control existed to create.

The rule follows directly: treat anything other than a successful, completed check as “not checked”, and make your agent do something other than send-and-forget when it sees that. Hold the reply, route it to a human, or retry once, but never let “not checked” quietly become “clean”.

The integration decisions, in one place

Decision Safe default
When does the check run? Between generation and send, in parallel with your own post-processing
Clean result (no findings)? Send as written
Findings returned? Swap the flagged phrase, or hold for a human on high severity
Check unavailable or timed out? Treat as not checked: hold or route to a human, never send as clean
Retry? Safe to retry once; a check has no side effect beyond the event record
What do you keep? The event (rule, outcome, time), not the message content

What the agent gets back, concretely

It helps to see the shape of the thing. Suppose a support agent, asked about a price match, generates this reply:

“Thanks for reaching out. As discussed, we will match any competitor price for the next three years, so you never have to worry about shopping around again.”

Nothing in that sentence is rude, off-brand, or obviously wrong. A model guardrail tuned for tone and safety passes it. A pre-send check reads it for legal exposure and returns a finding on the span that matters: the phrase “match any competitor price for the next three years”, flagged as a long-term pricing commitment, with a safer rewrite along the lines of “we can look at matching a competitor’s price, subject to the terms of your plan”. The output is phrase-level and short, because the fix is a swap, not a rewrite of the whole message.

Now the agent’s code has a clean decision. The finding is a binding commitment, which you have classified as high severity, so the agent does not send as written. It either substitutes the safer phrase and sends, or holds the reply for a human, depending on how much autonomy you have granted it. The customer never receives a three-year commitment the business never approved, and the event, a binding-commitment flag fired and was resolved, is recorded without storing the message text. That is the whole loop: generate, check, decide, send, record.

What this guardrail is, and what it is not

Being precise here matters, because “AI guardrails” is a crowded phrase. A pre-send check on agent output is a guard against the careless, costly sentence: the accidental commitment, the unsupported assurance, the disclosure that should not have been made. It is not an adversarial security boundary. It will not stop a determined attacker, and it will not reliably defeat a prompt-injected agent that has been manipulated into hostile behaviour; that is a different problem with different controls. Claiming otherwise would be the overclaim that gets a security team to stop trusting the whole thing. The honest scope is the valuable one: the well-intentioned agent, writing fast, producing the occasional sentence that a careful human would have caught.

Where this fits

VerbaPulse began as a pre-send check for people writing in Outlook and Gmail, reading a draft before it is sent and returning the sentences that create legal exposure. The same check runs on an agent’s draft through an API call before the reply is sent, with the same output: findings, with the reason and a safer version, and character offsets so you can replace the phrase in place. It complements the archiving and supervision you already run, and it sits on the outbound path rather than inside the model.

The takeaway

If you are putting an AI agent in front of customers, add one requirement to the design before launch: every outgoing reply is checked between generation and send, and a reply that could not be checked is never treated as clean. Run the check in parallel so clean replies are not slowed, hold only on a finding or a failure, and keep the event rather than the message. The model’s own guardrails reduce how often a risky sentence is generated. The check on the output is what stops the ones that are generated anyway from reaching the customer.

See how VerbaPulse flags risk before an email is sent, right inside Gmail and Outlook.

See VerbaPulse in action →
← Your chatbot writes it, your company answers for it Employees are pasting confidential data into AI tools: the shadow-AI exposure →