boundry.
RegionSydney, Australia
Documentation/email.stored

email.stored

A signed Boundry platform event. Its payload remains pinned to the API version configured for the receiving endpoint.

email.stored

Inbound mail was persisted in the regional data plane.

Channel: email

Payload schema

FieldTypeDescription
api_versionrequiredstring

API version pinned to the webhook endpoint. Values: "2026-08-14". Default: "2026-08-14".

created_atrequiredstring (date-time)

Timestamp when Boundry created the event. Example: "2026-08-14T12:00:00.000Z".

datarequiredobject

Event resource wrapper. Example: {"object":{"attachments":[],"bcc":[],"cc":[],"created_at":"2026-08-14T12:00:00.000Z","from":"sender@example.com","html":null,"id":"rcv_01j0example","last_event":"received","object":"email","project_id":"proj_au_prod","reply_to":[],"subject":"Hello","tags":[],"text":"Hello","to":["inbox@acme.com"]}}.

objectrequiredobject

Event resource. Example: {"attachments":[],"bcc":[],"cc":[],"created_at":"2026-08-14T12:00:00.000Z","from":"sender@example.com","html":null,"id":"rcv_01j0example","last_event":"received","object":"email","project_id":"proj_au_prod","reply_to":[],"subject":"Hello","tags":[],"text":"Hello","to":["inbox@acme.com"]}.

attachmentsrequiredarray

Inbound attachment metadata; unsupported in local mode.

content_typerequiredstring

Attachment media type. Example: "application/pdf".

filenamerequiredstring

Original attachment filename. Example: "invoice.pdf".

idrequiredstring

Attachment identifier. Example: "msg_01j0example".

sizerequiredinteger

Attachment size in bytes. Example: 1234.

bccrequiredarray

Blind-carbon-copy recipients.

ccrequiredarray

Carbon-copy recipients.

channelrequiredstring

Messaging channel. Values: "email".

created_atrequiredstring (date-time)

Timestamp when Boundry accepted the message. Example: "2026-08-14T12:00:00.000Z".

fromrequiredstring

Sender email address. Example: "hello@example.com".

htmlrequiredstring | null | null

HTML body, or null when omitted.

Option 1string

HTML email content.

Option 2null | null

One permitted response shape.

idrequiredstring

Message identifier. Example: "msg_01j0example".

last_eventrequiredstring

Inbound lifecycle event. Values: "received", "stored".

objectrequiredstring

Resource type discriminator. Values: "email".

project_idrequiredstring

Owning project identifier. Example: "msg_01j0example".

reply_torequiredarray

Reply-to addresses.

subjectrequiredstring

Email subject.

tagsrequiredarray

Message tags.

namerequiredstring

Tag name. Example: "campaign".

valuerequiredstring

Tag value. Example: "welcome".

textrequiredstring | null | null

Plain-text body, or null when omitted.

Option 1string

Plain-text email content.

Option 2null | null

One permitted response shape.

torequiredarray

Receiving addresses.

idrequiredstring

Stable event identifier.

livemoderequiredboolean

Whether the event originated in live mode.

objectrequiredstring

Resource type discriminator. Values: "event".

project_idrequiredstring

Owning project identifier. Example: "msg_01j0example".

typerequiredstring

Webhook event type. Values: "email.stored".

Sample body

email.stored event
json
{
  "api_version": "2026-08-14",
  "created_at": "2026-08-14T12:00:00.000Z",
  "data": {
    "object": {
      "attachments": [],
      "bcc": [],
      "cc": [],
      "created_at": "2026-08-14T12:00:00.000Z",
      "from": "sender@example.com",
      "html": null,
      "id": "rcv_01j0example",
      "last_event": "received",
      "object": "email",
      "project_id": "proj_au_prod",
      "reply_to": [],
      "subject": "Hello",
      "tags": [],
      "text": "Hello",
      "to": [
        "inbox@acme.com"
      ]
    }
  },
  "id": "evt_01j0example",
  "livemode": true,
  "object": "event",
  "project_id": "proj_au_prod",
  "type": "email.stored"
}
Verify signed webhook deliveries