# email.sent

A mail left through the email API. Exactly one event per mail, whichever path sent it: `source` is `send`, `reply`, `forward`, `draft` or `scheduled`. A scheduled draft carries both `scheduleId` and `draftId`.

Use it to record sends in your own system with the `metadata` you passed. The sent copy also arrives as `message.sent` in the inbox.




**Payload for `email.sent`:**

- **id** (required) `string`: No description
- **profiles**: `WebhookProfiles` - See schema definition
- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **event** (required) `string`: No description - one of: email.sent
- **account** (required) `object`: 
  - **accountId** `string`: No description
  - **profileId** `string`: No description
  - **platform** `string`: No description
  - **username** `string`: No description
  - **displayName** `string,null`: No description
- **source** (required) `string`: No description - one of: send, reply, forward, draft, scheduled
- **email** (required) `object`: 
  - **messageId** `string`: Provider id of the sent mail.
  - **threadId** `string`: No description
  - **trackingId** `string,null`: No description
  - **metadata** `object,null`: No description
  - **subject** `string`: No description
  - **from**: One of multiple types
    - `EmailAddress`
  - **to** `array[EmailAddress]`: 
  - **cc** `array[EmailAddress]`: 
  - **bcc** `array[EmailAddress]`: 
  - **sentAt** `string` (date-time): No description
- **draftId** `string,null`: The draft it was sent from (`source: draft`, or a scheduled draft).
- **scheduleId** `string,null`: The scheduled send (`source: scheduled`).
- **replyToMessageId** `string,null`: No description
- **forwardedFrom** `string,null`: No description
- **timestamp** (required) `string` (date-time): No description