Skip to main content
jetemail adapts to its environment automatically.
  • In a terminal, list-style commands render compact tables. email send prompts for missing fields, shows a spinner, and prints a friendly success line.
  • In a pipe or non-TTY (jq …, CI logs, AI agents), every command emits pretty JSON to stdout. Errors and spinners go to stderr so stdout stays clean.

Global flags

Terminal mode

Pipe / non-TTY mode

--raw is compact JSON (single line) which is useful when streaming many records.

Forced JSON in a terminal

Useful when copy/pasting structured output to another tool, or when scripting interactively.

CSV outputs

A few endpoints return raw CSV instead of JSON. The CLI writes them to stdout unmodified:
See outbound for suppression import (the inverse).

Errors

Errors print the HTTP status and parsed response body to stderr and exit with code 1. See Exit codes.