Skip to main content
jetemail email wraps the transactional send endpoints. Two subcommands: jetemail send … is a shorthand alias for jetemail email send …. Authentication uses your transactional key (transactional_…). Set it with jetemail login, JETEMAIL_TRANSACTIONAL_KEY, or --transactional-key.

email send

If --from, --to, or --subject aren’t supplied in an interactive shell, you’ll be prompted for the missing values. The body (--html / --text) is required for an actual send.

Flags

Body sources

--html, --text, and --body-json all accept the same three sources:

Attachments

Examples

Plain text:
HTML from a template file with overrides:
Scheduled, EU-routed, idempotent:

email batch

Send many messages in one request. Pass a JSON document containing either the full batch payload or just the array of email objects.
batch.json can be:
or the array form:
A single-object body is treated as a batch of one.

Flags