Answering data subject requests with an AI agent

An AI agent can log a data subject request, acknowledge it, gather what you hold and draft the answer. Verify the requester first and deliver the data by secure link, not in the email. In a Trotta Mail inbox, an agent's reply that carries a card number or social security number is refused.

Updated

How does an AI agent handle a data subject request?

StepThe agentThe control
Log the requestRecords sender and date receivedDeadlines are counted from this
AcknowledgeReplies in the threadNo data in this reply
Verify the requesterAsks for what you needA human or your sign-in decides
CollectQueries your systemsScoped to that requester
Draft the answerWrites itA human reads it
DeliverSends a secure linkNot the data in the email body

How long do you have to answer?

RuleTime to respondExtension
UK GDPR, as the ICO describes itWithout undue delay, within one monthUp to two further months where necessary, such as complex requests. Say so within the first month
CCPA requests to know, delete or correct, per the California Attorney General45 calendar daysAnother 45 days if you notify the requester

Both expect you to know who is asking. Under the ICO guide, the month can run from the day you receive the information that confirms identity. Check which rules apply to you. This is not legal advice.

What happens when a reply contains card or social security numbers?

The job has two sample messages, both sent by the agent, Riley, to a customer at sam@carter-family.example. We screened both again on December 3, 2026. One says the request arrived, and a copy will be ready within 30 days by secure link. The other pastes a card number and a social security number into the body.

ReplyVerdictSummary, as the engine wrote it
The acknowledgementdeliver, level safeNothing sensitive found in this message.
The reply with the datareject, level dangerThe message contains a payment card number and a social security number.

The signal is "Outgoing mail contains regulated personal data". Catch the refusal and hand it to a human:

TypeScript
import { TrottaMail, UnprocessableEntityError } from "trotta-mail";

const mail = new TrottaMail({ apiKey: process.env.AGENT_KEY });

try {
  await mail.messages.reply(process.env.MESSAGE_ID!, { text: draft });
} catch (err) {
  if (!(err instanceof UnprocessableEntityError)) throw err;
  await askAHuman(err.verdict?.summary); // 422 outbound_blocked: nothing was sent
}

In our test, the same numbers inside a PDF and inside a CSV attachment were refused too. The MCP reply_to_message tool returns the same outbound_blocked error. When the agent saved the text as a draft, a human pressing send also got the refusal, and the agent's copy of the draft showed none of it.

What does outbound screening not catch?

It does not know whose data it is, or whether the recipient may have it. A reply with a date of birth, a government ID number or bank details can wait for a human, but names, addresses and phone numbers alone do not. In our test, a CSV with a name and an email address was sent.

Screening refuses things like card numbers, social security numbers and passwords. It is a backstop under your process, not the process.

How should you set up the privacy inbox?

  • A dedicated inbox. Publish one address for requests, so dates and threads are in one place.
  • Human approval on everything. With send_approval: always, each answer waits as pending_approval until a human approves it.
  • A check on who is asking. Read verdict.auth on the request. If reply_to names a different address from from, stop and ask a human.
  • A key for that inbox. The agent gets mail:read and mail:send there, and no guard:release.
  • Data stays in your system. Send a link behind a sign-in. Do not give the agent a way to mail an export.

A request can also be bait: a stranger asking for another customer's records. Identity checks stop that, not a content screen. See data exfiltration through agents.

Questions

Can an AI agent send personal data by email?

Some of it, which is the risk. A card or social security number is refused and a date of birth waits for a human, but names and addresses go. Deliver access request data by secure link.

What happens to a refused reply?

It is not sent. The API answers 422 outbound_blocked, the message is stored as blocked, and the copy an agent can read keeps none of the content that was refused.

Does this make our request process GDPR compliant?

No, and Trotta Mail does not claim that. Identity checks, deadlines, retention and what goes in the answer remain your responsibility.

How fast must we answer a data subject request?

The UK ICO says within one month, extendable by two more in some cases. California's CCPA gives 45 calendar days, extendable once with notice. Check your own obligations.

Sources

Give your agent an inbox of its own. Free for three agent inboxes and you. No card.