Skip to main content

Telnyx Messaging: Email — Documentation Index

Email documentation within the Messaging section of the Telnyx developer docs (https://developers.telnyx.com). This file: https://developers.telnyx.com/docs/development/llms/messaging-email-llms-txt.md · Root index: https://developers.telnyx.com/llms.txt

Getting Started

  • Overview: Telnyx Email API — a full email platform with sending, receiving, inboxes, templates, tracking, suppression management, and deliverability tools.
  • Send Your First Email: Send your first email with the Telnyx Email API — add a sending domain, verify DNS, and POST to the /email_messages endpoint.

Sending Email

  • Email API Guide: Complete guide to sending email with the Telnyx Email API — full payload options, HTML and attachments, scheduling, idempotency, tracking, batch sending, and error handling.
  • Migrate to Telnyx: Migrate your email sending from any ESP to Telnyx Email — authentication, sending, templates, webhooks, suppressions, and domain setup.
  • Rate Limits: Rate limits, sending quotas, request size limits, and destination provider throttling for the Telnyx Email API — batch sending, scheduled sending, and how to request increases.
  • Error Codes: Reference for all Telnyx Email API error codes, HTTP status codes, and troubleshooting guidance.

Inboxes

  • Manage Inboxes: Create and manage email inboxes, read and reply to messages, organize threads with labels, filter senders, and send drafts with the Telnyx Email Inboxes API.

Domains & Validation

  • Email Domains & DKIM: Register, verify, and manage sending domains with the Telnyx Email API — DNS records (SPF, DKIM, DMARC, MX, ownership), domain health, DKIM signing, status lifecycle, and reputation.
  • Email Validation: Validate email addresses before you send — syntax, MX/deliverability signal, disposable domains, role addresses, and typo suggestions, single and batch.

Deliverability

  • Deliverability & Warm-up: Build and protect your email sender reputation with Telnyx — domain warm-up, authentication, list hygiene, bounce handling, and complaint monitoring.
  • Deliverability Best Practices: Understand email deliverability — how receiving providers evaluate your mail, why messages land in spam, and how to interpret Telnyx delivery error codes when things go wrong.

Templates & Suppression

  • Templates: Create, manage, and render email templates with the Telnyx Email API — Liquid variables, server-side render/preview without sending, and sending with a template.
  • Suppressions & Unsubscribes: Manage the Telnyx Email suppression list — reason taxonomy, account vs group scope, CSV import from SendGrid/Mailgun/SES, send-time override behavior, unsubscribe groups, and RFC 8058 one-click unsub…
  • Unsubscribe Groups: Group-based unsubscribe management for the Telnyx Email API — let recipients opt out of specific email categories without unsubscribing from everything.

Events & Webhooks

  • Webhooks & Events: Track every email event with Telnyx — subscribe via webhooks or poll the Events API. Complete event-type reference, webhook CRUD, Ed25519 signature verification, and polling patterns.
  • Event Lifecycle: Understand the full lifecycle of an email message — from send to delivery to bounce — and how each stage maps to Telnyx webhook events, the Events API, and the Email Detail Record (EDR).

API Reference (Email)

Email Messages

Email Inboxes

Email Drafts

  • List drafts in an inbox: Lists drafts newest first using stable cursor pagination. All access is scoped
  • Create a draft: Creates an unsent draft in the inbox. Every field is optional — a draft is a
  • Delete a draft: Permanently deletes an unsent draft. Drafts that are being sent or have been sent
  • Retrieve a draft: Returns a single draft. Drafts that have been sent remain retrievable, so the
  • Update a draft (alias): Identical to PUT; both apply a partial update to the supplied fields.
  • Update a draft: Updates the supplied fields on a draft. account_id and inbox_id are
  • Send a draft: Sends the draft through the standard send pipeline — the same domain resolution,
  • Create a reply draft: Creates an unsent reply draft for an inbound message. Unlike the

Email Threads

Email Domains

  • List email domains: Shared (type: shared) Telnyx-managed domains are included/readable for every account, in addition to the account’s own custom domains.
  • Create an email domain: Registers a domain for email sending and optional inbound delivery. The response includes the domain configuration and current verification state.
  • Delete an email domain: Deletes an email domain configuration. Verified domains require force=true, and shared domains are read-only for non-owner accounts.
  • Retrieve an email domain: Shared (type: shared) Telnyx-managed domains are included/readable for every account, in addition to the account’s own custom domains.
  • Update an email domain: Updates mutable settings for an existing email domain, including inbound delivery and tracking configuration. Shared domains are read-only for non-owner accoun…
  • Get domain health summary: Returns a summary of domain health including verification status and usability.

Email Domain DNS Records

Email Webhooks

  • List webhooks for an email domain: Returns a paginated list of webhook subscriptions scoped to the email domain. Results can be sorted by creation time.
  • Create a webhook for an email domain: Creates a webhook endpoint subscribed to a specific allowlist of event types. Both email.* events (published by email-api) and email_domain.* events (publi…
  • Delete a webhook: Deletes the webhook subscription identified by ID within the specified email domain and returns the deleted subscription.
  • Retrieve a webhook: Returns the webhook subscription identified by ID within the specified email domain.
  • Update a webhook: Update a webhook’s URL and/or event subscription. A webhook is bound to its domain — domain_id is not mutable.

Email Validations

Email Templates

  • List email templates: Lists templates sorted newest first by created_at desc, id desc.
  • Create an email template: Creates a Liquid email template. Variables are auto-extracted when omitted.
  • Delete an email template: Deletes the account-owned template. The operation returns 204 with no body and prevents future sends or renders from using the deleted template ID.
  • Get an email template: Returns the account-owned template identified by ID, including its Liquid subject and bodies, declared variables, and timestamps.
  • Update an email template: Updates one or more template fields.
  • Replace an email template: Replaces template fields. Behaves identically to PATCH; provided for compatibility with Phoenix resource routes.
  • Render an email template: Renders a template using the provided Liquid variables. Missing template_variables defaults to {}.

Email Suppressions

Email Suppression Imports

Email Unsubscribe Groups

Email Events