CLI reference

CLI reference

Every mailset command: its usage, flags, who can run it, and an example.

mailset runs everything the API does, from a terminal or an agent’s shell.

Install

On macOS or Linux, from Homebrew or npm.

brew install intenseloop/tap/mailset

Then sign in. It prints a link to approve with your passkey.

mailset login

mailset --help lists every command, and mailset <command> --help shows one in full.

Flags every command takes

  • --jsonflagoptional

    Print the answer as JSON, in the shape the API reference gives for the same command.

  • --org<id>optional

    The org a command is about, when you are in more than one. mailset orgs list shows the ids.

  • --yesflagoptional

    Don’t ask y/N before a command that shows its plan first. With no terminal, as in a script or an agent’s shell, nothing asks anyway.

  • --helpflagoptional

    One command’s bare word and flags, who can run it, and whether it asks for a passkey. On a group, its commands.

  • --versionflagoptional

    This CLI’s version.

Product email

Campaigns and inbound

Domains

Mailboxes

Email

Organization

Your account