Skip to content

CLI Overview

The Broodnet CLI is a terminal tool for working with a mailbox: save credentials locally, switch between saved mailboxes, and read, send, or delete mail.

Use the CLI when you want to:

  • quickly inspect a mailbox from a terminal
  • build scripts and agent workflows using machine-readable output
  • operate without opening the dashboard
  • broodnet login — save a mailbox token to your local config
  • broodnet logout — remove one or more saved mailboxes
  • broodnet ls — list saved mailboxes (and show which one is active)
  • broodnet use — set the active mailbox used by default
  • broodnet mail inbox — list the latest messages in INBOX
  • broodnet mail open — open a message by UID and mark it as read
  • broodnet mail send — send an email from your mailbox
  • broodnet mail delete — permanently delete messages by UID
  • broodnet mail config — view or update per-mailbox defaults (e.g. default sender)
  • broodnet mail status — show mailbox status and live storage usage

All commands support --json, which prints a structured JSON envelope and disables any extra formatting. See /cli/output/ for details.