## Segments

The message is cut into labelled segments, in order:

| Kind | What it holds | In `content.text`? |
| --- | --- | --- |
| `body` | The sender’s new words. | yes |
| `quote` | Quoted history: `>` lines, “On … wrote:” headers and everything under them, Outlook-style `From:`/`Sent:`/`To:` blocks, `-----Original Message-----`, and the quote containers Gmail, Outlook, Yahoo, Apple Mail, Thunderbird and Proton use in HTML. | no |
| `signature` | A `--` signature block, “Sent from my iPhone”-style lines, a sign-off (“Thanks,”, “Best regards,”, and their equivalents in Spanish, French, German, Portuguese, Dutch and Italian) followed by a short name block, and HTML signature containers. | no |
| `disclaimer` | Confidentiality notices, “you are receiving this because” lines, unsubscribe and preference footers, notification-settings footers, “consider the environment before printing”, and copyright lines. | no |
| `hidden` | Text a human reader cannot see (below). | no, and never show it to a model |

Header-detection covers the reply formats of English, German, French, Spanish, Portuguese, Italian, Dutch, Swedish, Danish, Norwegian, Polish and Czech mail clients.

Use `segments` to show a human what was removed. The dashboard’s Agent-safe / Raw toggle is built on it.
