Create a draft email
$ lightfield email draft
POST/v1/emails/draft
Creates a draft in the connected email account that owns the from address. 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
Parameters
--from: string
Bare email address (no display name). Must match a connected email account owned by the API key user. Compared case-insensitively. Mailbox where the draft is created.
Create a draft email
lightfield email draft \
--api-key 'My API Key' \
--from sales@acme.com{
"draftedAt": "draftedAt"
}Returns Examples
{
"draftedAt": "draftedAt"
}