Skip to the page

rykloud mail

Rykon Mail: domains, mailboxes, sending, webhooks, keys and service accounts

Rykon Mail from your terminal, as you (your role in the Rykon Mail account) or as a machine (RYKLOUD_MAIL_TOKEN: an API key or a service account's access token).

rykloud auth login also signs you in to Rykon Mail when your Rykon account has a Rykon Mail account; rykloud mail login does it on its own. In several accounts, choose one with --account, RYKLOUD_MAIL_ACCOUNT, or rykloud mail accounts use.

A command that answers a secret (a key, a password, a signing secret) prints it once: to --output-file (made 0600), or to stdout when it is not a terminal, or on the terminal with --show-secret.

Examples
rykloud mail login
rykloud mail domains list
rykloud mail send --from orders@example.com --to ada@example.org --subject "Your receipt" --text-file receipt.txt --category receipt
RYKLOUD_MAIL_TOKEN=... rykloud mail messages list -o json

Flags

--account
the Rykon Mail account, by name or id (env RYKLOUD_MAIL_ACCOUNT)

Commands

Every command also takes the global flags.