Docs Quickstart

Quickstart

Install the relayme CLI, connect it to your workspace, and send a message, report, or attachment to a mailing list.

How it fits together

Your account owns one workspace. It holds your mailing lists, sending identities, and CLI connections. A connection represents one machine or automation; its token is what relayme stores locally.

1. Install the CLI

Prebuilt binaries are available for macOS and Linux. Experimental, untested Windows binaries are also available from the download page.

macOS / Linux
curl -fsSL https://relaymethis.com/install | sh

2. Connect this machine

relayme login opens the dashboard, where you approve the displayed device, choose its mailing lists and identities, and optionally create new identities. Once approved, relayme stores the token in your operating system credential store when available.

shell
relayme login
In CI? Set RELAYME_TOKEN instead. The CLI checks that environment variable first and falls back to the token saved by relayme login.

Sending identities

An identity is the sender profile used in the email's From header. It has a human name, such as Operations, and a stable key, such as ops. Renaming the display name does not change the key scripts use.

One CLI connection can hold several identities. A reporting job might send routine summaries as reports and urgent failures as alerts without needing a second installation or token.

shell
# inspect the identities available to this connection
relayme whoami

# choose by stable key
relayme -m "Build failed." --identity alerts

# or choose by the 1-based number shown by whoami
relayme -r ./weekly.md -i 2
Which identity is used by default? Relay Me uses the mailing list's default, then the workspace default. If exactly one active identity is available it is used automatically. When several remain possible, pass --identity so the CLI never guesses the sender.

3. Check which lists you can send to

shell
relayme doctor    # credential source and API connectivity
relayme whoami    # connection, workspace, lists, identities
relayme lists     # mailing lists this CLI may send to

4. Send

A send needs at least one piece of content: a message, a report file, or an attachment.

shell
# a one-line message to the CLI's default list
relayme -m "Deploy completed successfully."

# a Markdown report as the body
relayme -m "Here is the nightly report." -r ./report.md

# target a specific list by key
relayme --list server-alerts -m "Disk usage at 91%."

# pipe a report in, pick a sender identity by ordinal
cat report.md | relayme -r - -i 2

CLI reference

Commands

CommandDescription
relaymeSend. The default when no subcommand is given.
relayme loginAuthenticate this device through browser approval.
relayme whoamiShow the token's current workspace, lists, and identities.
relayme listsMailing lists this CLI may send to.
relayme status <send_id>Check a recent send.
relayme doctorCheck local credentials and API connectivity without revealing the token.
relayme uiOpen the optional interactive terminal home screen.
relayme completion <shell>Print completion for bash, zsh, or fish.

Flags

FlagDescription
-m, --message <text>Short literal message. Sits above a report if both are given.
-r, --report <file|->One .md, .txt, or .rtf report as the body. - reads stdin.
-a, --attachment <path>One attachment, max 5 MB.
-s, --subject <text>Subject. Overrides report frontmatter.
-i, --identity <id>Sender identity: key, id, or ordinal number.
-l, --list <key>Mailing list key. Defaults to the CLI's own default list.
--dry-runValidate and preview without queueing.
--jsonMachine-readable JSON output.

HTTP API

Coming soon. The public HTTP API is not part of the supported product surface yet. Use the CLI for scripts, agents, and scheduled jobs in the meantime.

Adding someone to a list asks their permission; it does not subscribe them. Until they confirm, they are pending and every send skips them. This is enforced in the send pipeline rather than sold as a plan feature.

Copied