messages commands let you send, inspect and cancel email messages; this page covers their arguments and flags.
Before running the examples, log in with a full API key, use your verified sender domain, and replace YOUR_RESOURCE_ID with a resource UUID from your test account. Create any named template, recipient, attachment, or JSON files first. Shell examples use Bash; examples that read JSON with jq need jq installed. Sends use sandbox mode.
Overview
send- Send email messageslist- List sent messagesget- Get details for one messagecancel- Cancel scheduled messages
Send Messages
Basic Usage
Recipients
Content Options
Testing
List Messages
Get a Message
deliver, bounce, defer, fail, and suppress; see sandbox mode.
Cancel Messages
<UUID@yourdomain.com>, extract the UUID as shown above.
Advanced Usage
For detailed information on batch processing and templating:- Batch Processing Guide - High-volume email sending
- Template System - MiniJinja templates with Jinja2-compatible syntax
- Examples - Real-world use cases

