# AI help desk agent email: password reset tickets

> How an AI help desk agent opens tickets by email, why a fake IT message asking for a sign-in code is held, and what the agent should never send.

Source: https://trotta.email/use-cases/it-help-desk

An AI help desk agent can open tickets, answer in the same thread and route work to technicians. It should not reset anything because an email asked, and it should never handle passwords or sign-in codes. Screening holds the fake IT message in our sample; proving who is asking is still your job.

Updated December 3, 2026

## How does an AI help desk agent work a ticket by email?

1. Give the help desk an inbox of its own and publish that address to staff.
2. Wait for mail, or take it from a [webhook](https://trotta.email/docs/webhooks).
3. Read the thread context. It fences the mail as data and gives a `trust` level.
4. Open the ticket, label the message, and reply in the same thread.

```typescript
import { TrottaMail } from "trotta-mail";

const mail = new TrottaMail({ apiKey: process.env.AGENT_KEY });
const inboxId = process.env.INBOX_ID!;
const since = process.env.LAST_CHECK!; // an ISO time

const msg = await mail.inboxes.wait(inboxId, { after: since });
if (msg) {
  const { context, trust } = await mail.threads.context(msg.thread_id); // fenced as data
  const ticket = await openTicket(context); // your code
  await mail.messages.update(msg.id, { addLabels: [`ticket-${ticket}`] });
  if (trust === "safe") {
    await mail.messages.reply(msg.id, {
      text: `Ticket ${ticket} is open. A technician will confirm it is you before any reset.`,
    });
  }
}
```

An agent in an MCP client does the same with two tools:

MCP:

```json
{ "name": "thread_context", "arguments": { "thread_id": "thr_2bn8pjw1q6hx5ck9dv3t" } }

{
  "name": "reply_to_message",
  "arguments": { "message_id": "msg_7c2ndq8xk4v9tb3wmz6r", "text": "Ticket 5512 is open." }
}
```

## What happens to a fake IT message that asks for a code?

The job has two sample messages. We screened both again on December 3, 2026. Jordan Ellis writes that a laptop is locked after last night's update and asks for a password reset. "IT Support" at `support@trotta-it-desk.example` says an account move is under way, a six digit code was just sent, and asks for that code back.

| Message | Verdict | Summary, as the engine wrote it |
| --- | --- | --- |
| Locked out after the update | `deliver`, level `safe` | No threats found. |
| Finish your account move | `hold`, level `danger` | The sender's domain trotta-it-desk.example is spelled to look like Trotta. The message asks the reader to send the one-time code it just sent. |

The held message carries two signals, "Sender domain imitates Trotta" and "Asks for a secret". Because it is held, the agent never reads the request and cannot answer it. See [lookalike domains](https://trotta.email/threats/lookalike-domains).

The pattern runs in both directions. The CISA advisory on the Scattered Spider group describes attackers who posed as IT staff to get one-time codes, and attackers who posed as employees to get help desks to reset passwords.

## Does a delivered ticket prove who is asking?

No. The sample ticket is delivered because nothing in it is dangerous, not because Jordan has been identified. A message from a taken-over mailbox would read the same.

- **Confirm outside email.** Call a number on file, or require sign-in to your portal with a second factor.
- **Never accept a reply as the check.** Whoever sent the first message can send the second.
- **Keep reset tools away from the inbox agent.** Let a human, or your identity system's own verification, perform the reset.

## Can the agent email a temporary password?

No. Outgoing mail is screened. In our test, a reply containing a temporary password was refused, and the stored copy kept none of it:

422 response, shortened:

```json
{
  "error": {
    "code": "outbound_blocked",
    "message": "This message was not sent. The message contains a password or credential."
  }
}
```

A reply that carries a reset code or a reset link waits for a human, and so does any message that passes on a code the inbox received. This does not write your reset policy: still decide what the agent may send, and keep codes out of its reach.

## How should you set up the help desk inbox?

- **A key for one inbox.** Give the agent `mail:read` and `mail:send` on the help desk inbox and nothing else.
- **Lockdown for an internal desk.** In `lockdown` mode your own organization and allow-listed senders that prove who they are get through. Everything else is held.
- **A human on held mail.** A held ticket may be a real one. Someone should look at the Held folder daily.
- **Mailboxes stay private.** In a human's own mailbox, mail that carries a sign-in code or reset link is sealed by default. No API key can read it there. See [verification codes](https://trotta.email/learn/verification-codes-for-ai-agents).

Before the desk goes live, run an [attack drill](https://trotta.email/use-cases/attack-drills) and watch what the agent does with it.

## Questions

### Can an AI agent reset passwords from an email request?

It should not. Let the agent open the ticket, and require an identity check outside email before a human or your identity system resets anything.

### How do attackers target a help desk by email?

By posing as IT to collect sign-in codes, and by posing as an employee to get a password reset. The first looks like the held sample; the second can look like an ordinary ticket.

### Can the help desk agent send a temporary password?

Not by email. The reply is refused with `422 outbound_blocked`. Point the employee to your own reset flow instead.

### Can the agent read my sign-in codes to help me?

Not from your own mailbox with the default setting. Login mail there is sealed from every API key. An agent's own inbox is different: its codes are its own.

## Sources

- [CISA and FBI joint advisory AA23-320A on Scattered Spider, revised July 29, 2025](https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-320a)

## Related

- [Credential phishing](https://trotta.email/threats/credential-phishing) Threat library
- [Account takeover](https://trotta.email/threats/account-takeover) Threat library
- [Lookalike domains](https://trotta.email/threats/lookalike-domains) Threat library
- [Verification codes for AI agents](https://trotta.email/learn/verification-codes-for-ai-agents) Guides
- [Phishing and prompt injection drills for an AI agent](https://trotta.email/use-cases/attack-drills) Use cases
- [Customer support by email with an AI agent](https://trotta.email/use-cases/customer-support) Use cases

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

[Get an inbox](https://trotta.email/signup) [See every use case](https://trotta.email/use-cases)
