Mailkube CLI
Send mail, manage scheduled sends, and receive webhook events from your terminal. One binary for humans, scripts, CI, and coding agents, with an embedded skill so assistants drive it correctly.
Mailkube CLI
What it does
The mailkube CLI is a single binary that sends email, manages scheduled sends, and receives webhook events on your machine. It speaks to the same REST API and the same submission host your application does, so what works from the terminal works from your code.
It covers the send path and the local development loop, on purpose. Domain setup, API keys, webhook endpoints, templates, suppressed recipients, and audience management stay in the dashboard at app.mailkube.com. Run mailkube dashboard and it prints the right page for anything it doesn’t handle itself.
Key benefits
- One command, two transports.
mailkube emails sendbuilds a message from flags, a JSON payload, or a saved template, then delivers it over the REST API or over SMTP with a single--transportflag. Same message shape either way, so switching transports is a one-word change, not a rewrite. - Webhooks without deploying anything.
mailkube webhooks listenreceives real events on your machine while you write the handler that will consume them, and forwards or records them as you go.--exit-afterand--exit-timeoutturn a listener into an assertion a CI job can make. - Built for coding agents, not just humans.
mailkube skill installwrites an embedded skill file, by default to.claude/skills, that tells a coding assistant the things--helpcannot: branch on exit code rather than message text, run--dry-runbefore every real send, and which commands do not exist on purpose (there is noemails get,emails list, or--wait, because mailkube does not serve past state). - Scriptable by default. Output is human-readable on a terminal and JSON everywhere else, with no flag to remember either way, and the exit codes are a stable contract you can branch on.
Getting started
- Install with Homebrew, Scoop, the shell installer,
go install, or a container image - Run
mailkube auth login(ormailkube initfor guided setup) - Send a first message with
mailkube emails send --dry-runto see exactly what would go out before it is real - Run
mailkube webhooks listento watch delivery events arrive locally - If a coding agent drives your terminal, run
mailkube skill installso it gets the CLI’s rules instead of guessing at them
The CLI is early: v1.0.0 has shipped, but the command surface is still growing. See the quickstart for the full walkthrough.