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
--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: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: