MaillyDocs

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.

CommandWhat it does
login, logout, whoamiSign in with the browser or an API key, and check the current account
balance, logsUsage balance and consumption logs
send, statusSend email; multi-recipient sends and campaigns are queued and return a task ID
inboxInbox addresses, threads, message content, replies, attachments, and inbox webhooks
outbox, delivery-events, webhooksPer-recipient sent messages, delivery events, and signed delivery webhooks
drafts, agentsDrafts for human review, and hosted agent profiles and skills
templates, workflows, eventsVersioned templates and lifecycle workflows triggered by events
contacts, audiences, campaignsContacts, CSV import, suppression, audiences, and campaigns
preferences, marketing-settingsRecipient subscription state and marketing footer identity
domains, dns, codeCustom domains, DNS provider tokens, and verification codes

Examples

Inbox
mailly inbox threads list --json
mailly inbox threads show <thread-id> --json
mailly inbox webhook set --url https://your-service.example.com/mailly --json
Hosted agents
mailly agents list --json
mailly agents create --name "Support assistant" --mode draft --address-id <address-id> --json
mailly agents update <agent-id> --mode summarize --json
Email resources
mailly contacts list --json
mailly audiences list --json
mailly templates list --json
mailly workflows list --json
mailly campaigns list --json

On this page