# MailLedgerEntry

object type

One email the platform sent to YOUR account. The words derive at read time from the kind + origin.

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `ref` | [ID](/types/#scalars) `ID!` | The footer reference — M-XXXX-XXXX-XXXX (pass verbatim to mailByRef). |
| `kind` | [MailKind](/types/MailKind/) `MailKind!` | No further notes. |
| `kindWords` | [String](/types/#scalars) `String!` | The kind in words (the letter's heading). |
| `origin` | [MailOrigin](/types/MailOrigin/) `MailOrigin!` | No further notes. |
| `originWords` | [String](/types/#scalars) `String!` | The origin in words — where the request came from, or which lane fired it. |
| `footerSentence` | [String](/types/#scalars) `String!` | The footer's own first line — the (kind × origin) sentence the mail carried. |
| `subjectId` | [ID](/types/#scalars) `ID!` | The dedup marker's subject — the onboarding request · your Account · the wallet · the charge · the referred group. |
| `eventId` | [String](/types/#scalars) `String!` | The firing change event's id — the trace into the event lake. |
| `eventAt` | [String](/types/#scalars) `String!` | When the firing event happened (the reference encodes it). |
| `sentAt` | [String](/types/#scalars) `String!` | When the transport accepted the mail. |
| `providerMessageId` | [String](/types/#scalars) `String!` | The mail provider's own send id. |
| `recipientHash` | [String](/types/#scalars) `String!` | SHA-256 hex of the recipient address, lowercased — compare, never read. |

## Used by

- [mailByRef](/reference/your-own-session/mailByRef/)
