> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrift.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate Recent Email

> Ask Claude to pull your last emails and run each one through ZeroDrift, with no ZeroDrift mailbox connection.

**Install first.** These guides need the ZeroDrift plugin in Claude Code, which is in preview. Install it and sign in on the [Claude Plugin](https://docs.zerodrift.com/claude-plugin.md) page, then run `/zerodrift:status` to confirm.

Ask Claude to read your recent email and check it. Claude fetches the messages through its own email access and sends each one to ZeroDrift. You get a summary, for example "all passed but 2", and the reason for each flag.

ZeroDrift does not connect to your mailbox for this. Your agent reads the email. ZeroDrift validates the text. For the idea behind this, see [How it works](https://docs.zerodrift.com/claude-plugin.md#how-it-works).

## Before you start

* An email connector is connected to Claude (for example Gmail) and Claude can read your mail. ZeroDrift does not provide this.
* Some of the emails you check should break your active rules if you want to see flags. A mailbox with no problems returns "all passed".

## Prompts

Copy one into Claude.

```text theme={null}
Pull my last 20 emails and run them through ZeroDrift.
```

```text theme={null}
Check the 10 most recent emails in my sent folder with ZeroDrift. List any that are flagged, with the line and the rule it broke.
```

```text theme={null}
Run my unread emails from today through ZeroDrift and summarize the results.
```

To get a short report, ask for a table of only the problems:

```text theme={null}
Check my last 20 emails with ZeroDrift. Give me a table of only the flagged emails with the subject, the flagged line, the rule it broke, and the severity. If none are flagged, say so.
```

## What you see

Claude reads the emails, calls ZeroDrift for each one, and summarizes. Each ZeroDrift result has the outcome, then each flagged line with its line number, a short quote and the rules it breaks (severity and policy). Claude writes the summary around those results, so its wording varies.

A flagged email looks like this:

```text theme={null}
ZeroDrift: Flagged — fix before sending (3 issues on 2 lines: 2 do not send, 1 caution)
```

Line 3: "Your investments are guaranteed to outperform the market this year."

| Severity | Rule | Policy |
| - | - | - |
| Do not send | Missing risk disclosure | US Securities & Investment Communications |
| Do not send | Performance disclaimer missing | US Securities & Investment Communications |

Line 5: "Let's lock this in before the window closes."

| Severity | Rule | Policy |
| - | - | - |
| Caution | Urgency pressure tactics | US Marketing Channel Mechanics |

A clean email looks like this:

```text theme={null}
ZeroDrift: Passed — no issues found.
```

A pass means the text matched none of your active rules. It is not a substitute for your own review.

An on-request check reads `Flagged` for a do-not-send verdict. Nothing is stopped, because you are only reading and checking mail.

Every check also appears in Activity in ZeroDrift Command.

## Limits

* **One check per email.** Claude validates each email as its own call, so 20 emails is 20 checks.
* **Only the text Claude passes.** ZeroDrift checks what Claude sends. ZeroDrift validates text, not files directly. To check an attachment, ask Claude to extract and format its contents for validation. See [Validate a PDF](https://docs.zerodrift.com/guides/claude-plugin/validate-pdf.md).
* **Rate limit.** 50 requests per minute for a single validation.
* **Long flag lists are trimmed.** A single result lists up to 20 flagged lines and summarizes the rest by rule. The full list is in Activity.
* **Detection only.** ZeroDrift flags and never rewrites. Claude can suggest new wording only if you ask, and ZeroDrift has not checked it.
* **Your agent reads the mail.** Your email stays under the access you gave Claude. ZeroDrift receives only the text sent to `validate`. See [Data retention](https://docs.zerodrift.com/data-retention.md) and the Data sent section of [Claude Plugin](https://docs.zerodrift.com/claude-plugin.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.