Skip to main content
Every flag on this page is also in mailkube help <command>. This is the searchable copy.

Global flags

These work on any command. Left alone, --output is inferred from the destination: human text on a terminal, JSON anywhere else. See Scripting.

Send

emails send

Send an email over the API, or over SMTP with --transport smtp. Message Templates Delivery --at, --batch-id and --idempotency-key are API transport only. Combining one with --transport smtp exits 2. Composing and rehearsing scheduled is an alias for scheduled-emails, and reschedule for update, so mailkube scheduled reschedule <id> works.

scheduled-emails list

--page and --all cannot be combined.

scheduled-emails get <id>

Show one scheduled send. No flags of its own.

scheduled-emails update <id>

scheduled-emails cancel <id>

Cancel one scheduled send. Prompts unless -y.

scheduled-emails batches update <batch-id>

scheduled-emails batches cancel <batch-id>

Cancel every pending send in a batch. Prompts unless -y.

Develop

webhooks listen

Receive webhook events on this machine. Where it listens What it shows and keeps Forwarding Verification and stopping

webhooks simulate

webhooks verify

smtp test

Set up

init

Guided first-time setup. --no-verify stores the credential without checking it.

auth login

auth logout

--smtp removes the SMTP credential instead of the API key.

auth status

Show which credentials are configured, without contacting anything.

config

Settable keys are api_key, base_url, smtp_user, smtp_host, smtp_port and smtp_tls. See Configuration.

doctor

errors explain [name|code]

Explain an error name or an SMTP code. --list lists every name and code it explains.

skill

dashboard

Show what is managed in the dashboard, and where.

topic [name]

Read a long-form help topic. Run it bare to list them: exit-codes, files, idempotency, output, pagination, profiles, testing, webhooks.

version

Show the CLI and SDK versions. --json is a natural spelling of -o json.

completion <bash|zsh|fish|powershell>

Write a shell completion script to stdout. See Install.

Verbs that route you to the dashboard

Account configuration lives in the web app. Typing domains, api-keys, templates, suppressions, contacts, segments, audience, or a webhooks management verb such as create or list, prints the page that owns it and exits 2. mailkube dashboard lists every page with its link. To observe what happened to a message, run webhooks listen. Delivery outcomes arrive as events, and the dashboard’s log view holds the longer history.