Loading
Forke Mail CLI
Sign up
DocsForke MailForke Mail CLI

Forke Mail

3 min read

Forke Mail CLI

CLI reference

Install

sh
curl -fsSL https://mail.forke.space/install.sh | sh

On Windows, download forke-mail-windows-amd64.exe from the latest release. To build from source: go build -o forke-mail ./cmd/forke-mail in the forke-mail repository.

Commands

CommandWhat it does
forke-mail loginSign in through your browser. Credentials are stored in your user config folder, readable only by you.
forke-mail logoutRevoke this device and remove the stored credentials.
forke-mail whoamiProject, plan, credits, limits and whether you're using a test key.
forke-mail initSet up the current folder: test key in .env, .env in .gitignore, notes in AGENTS.md.
forke-mail sendSend an email: --to, --from, --subject, --text, --html, --html-file, --template, --data key=value.
forke-mail domainsList sending domains and their status.
forke-mail toolsList every tool with its description.
forke-mail call <tool>Run any tool with JSON ('{"name":"x"}') or key=value arguments.
forke-mail mcpRun as a local MCP server over stdio.

Options: --yes answers confirmation prompts with yes (approvals still need the browser), --json prints raw output, --no-browser prints links instead of opening them, --url points at another server. Environment: FORKE_MAIL_API_KEY uses a key instead of signing in, FORKE_MAIL_URL changes the server.

When a command needs confirmation the CLI asks in the terminal. When it needs approval it opens the approval page and waits until you decide.