Sending Emails
Lettr provides a powerful and flexible API for sending transactional and marketing emails.Basic Email
Send a simple email with minimal configuration:Email Options
| Parameter | Type | Required | Description |
|---|---|---|---|
from | string | Yes | Sender email address |
to | string[] | Yes | Array of recipient addresses |
subject | string | Yes | Email subject line |
html | string | No | HTML content |
text | string | No | Plain text content |
cc | string[] | No | CC recipients |
bcc | string[] | No | BCC recipients |
replyTo | string | No | Reply-to address |
attachments | array | No | File attachments |
headers | object | No | Custom headers |
tags | array | No | Email tags for analytics |
metadata | object | No | Custom metadata |
scheduledAt | string | No | ISO 8601 date for scheduled sending |