Lettr icon

Lettr

Interact with Lettr transactional email APIs

Email → Schedule

AI-generated

Summary

Schedules an email for delivery at the specified UTC time. Provide recipients and either a template slug or email content; optional fields configure sender details, tracking, metadata, routing, and attachments.

Inputs

  • From Email (required) — Sender email address.
  • To (required) — Recipient addresses, separated by commas, semicolons, or newlines.
  • Subject — Email subject; the template subject is used when a template is selected and this is omitted.
  • HTML — HTML email body.
  • Text — Plain-text email body.
  • Template Slug — Template to render instead of raw HTML or text.
  • Additional Fields — Optional AMP HTML, BCC and CC recipients, campaign or project IDs, sender and reply-to names, JSON metadata, provider options, template substitution data and version, or JSON attachments. The idempotency key is documented as applying to Send only.
  • Scheduled At (required) — UTC delivery time, at least 5 minutes in the future and within 30 days.

Output shape

A single API response record for the scheduled email.

The operation sends the email scheduling request to the Lettr API; the source excerpt only exposes function signatures, so the exact response fields are not shown.

Examples

Example 1: Schedule an email with raw content

Provide the sender, recipients, subject and HTML or text body, then set Scheduled At to a valid future UTC time.

Example 2: Schedule a templated email

Provide the sender, recipients and Template Slug; optionally provide substitution data and a template version. The template subject can be used when Subject is omitted.

Links

Discussion