Commands
What each mailly command group does.
Run mailly <command> --help for every option. The full command manual lives with the CLI in skills/mailly/reference/commands.md.
| Command | What it does |
|---|---|
login, logout, whoami | Sign in with the browser or an API key, and check the current account |
balance, logs | Usage balance and consumption logs |
send, status | Send email; multi-recipient sends and campaigns are queued and return a task ID |
inbox | Inbox addresses, threads, message content, replies, attachments, and inbox webhooks |
outbox, delivery-events, webhooks | Per-recipient sent messages, delivery events, and signed delivery webhooks |
drafts, agents | Drafts for human review, and hosted agent profiles and skills |
templates, workflows, events | Versioned templates and lifecycle workflows triggered by events |
contacts, audiences, campaigns | Contacts, CSV import, suppression, audiences, and campaigns |
preferences, marketing-settings | Recipient subscription state and marketing footer identity |
domains, dns, code | Custom domains, DNS provider tokens, and verification codes |
Examples
mailly inbox threads list --json
mailly inbox threads show <thread-id> --json
mailly inbox webhook set --url https://your-service.example.com/mailly --jsonmailly agents list --json
mailly agents create --name "Support assistant" --mode draft --address-id <address-id> --json
mailly agents update <agent-id> --mode summarize --jsonmailly contacts list --json
mailly audiences list --json
mailly templates list --json
mailly workflows list --json
mailly campaigns list --json