Skip to content
You're viewing documentation for v3.0.1. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Lettr

Send through Lettr's SaaS email API with CC, BCC, reply-to, headers, metadata, a single tag, attachments, and scheduled delivery.

Capabilities

Repeated headers Idempotency Scheduling Personalized
No none Yes expanded

These values come from the adapter’s exported capabilities declaration. The field support matrix covers normalized message fields.

The Lettr adapter calls Lettr’s POST /emails endpoint with plain fetch. Scheduled messages use POST /emails/scheduled instead. Lettr is a European email platform for SaaS products. It authenticates with a Bearer API key.

Lettr logo
LettrLive check available@opencoredev/email-sdk/lettr
Provider docs

Configure

Create a Lettr API key (prefixed lttr_ or lttr_sandbox_) and verify the sending domain for live keys. Sandbox keys rewrite the sender domain to dev.uselettr.com and deliver to the key owner’s inbox.

PropType
apiKeystring

Lettr API key, sent in the Authorization Bearer header.

Typestring
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://app.lettr.com/api"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch
headers?Record<string, string>

Extra headers merged into every request.

TypeRecord<string, string>

Send

Lettr accepts multiple recipients, CC, BCC, one reply-to, custom headers, metadata, one tag, and base64 attachments. Display names on from and replyTo map to from_name and reply_to_name. Recipient addresses are sent as bare emails.

Schedule a send

Pass sendAt to use Lettr’s scheduled endpoint. Lettr requires the time to be at least five minutes in the future and within three days.

Verify from the CLI

Drop --dry-run to send for real. Use a sandbox key when you want the message delivered to your own inbox.

Last updated on