Skip to content

Email Destination

The email destination sends notifications via Amazon SES when events match the configured conditions.

{
"destination_type": "email",
"name": "Payment Failure Alerts",
"config": {
"addresses": ["ops@example.com", "payments@example.com"],
"include_payload": true
}
}
FieldRequiredDescription
addressesYesArray of email addresses to notify
include_payloadNoWhether to include the full event payload in the email (default: false)

Emails are sent in both HTML and plain text formats and include:

  • Event type and provider
  • Account slug
  • Event ID
  • Error message (if delivery failed)
  • A direct link to the event in the Transyt dashboard
  • Full payload (if include_payload is true)

The sender address is configured via the SES_FROM_EMAIL environment variable (default: notifications@transyt.com).

Alert the ops team when any Stripe delivery fails:

Terminal window
curl -X POST https://ingest.transyt.com/admin/accounts/{account_id}/destinations \
-H "X-Admin-Token: YOUR_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"destination_type": "email",
"name": "Stripe Failure Alerts",
"config": {
"addresses": ["ops@example.com"],
"include_payload": true
},
"condition": "delivery_failed and provider == \"stripe\""
}'