Create a draft email
Creates a draft in the connected email account that owns the from address (its primary address or one of its verified aliases). Mirrors native email-client behavior: only from is required — to, cc, bcc, subject, messageBody, and attachments are all optional. At least one of those optional fields must be populated; sending only from returns a 400.
Supports idempotency via the Idempotency-Key header.
Required scope: emails:create
Rate limit category: Write
Body ParametersJSON
Bare email address (no display name). The primary address or a verified alias of a connected email account owned by the API key user. Compared case-insensitively. Mailbox where the draft is created.
Optional list of file IDs (uploaded via the Files API) to attach to the draft. Maximum 5 attachments per draft. Gmail: up to 20 MiB combined raw attachment size. Outlook: up to 3 MiB per attachment. Uploads with purpose email_attachment accept up to 20 MiB per file; sender-specific limits apply when sending or creating a draft.
Create a draft email
curl https://api.lightfield.app/v1/emails/draft \
-H 'Content-Type: application/json' \
-H 'Lightfield-Version: 2026-03-01' \
-H "Authorization: Bearer $API_KEY" \
-d '{
"from": "sales@acme.com"
}'{
"draftedAt": "draftedAt"
}Returns Examples
{
"draftedAt": "draftedAt"
}