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
Print the answer as JSON, in the shape the API reference gives for the same command.
The org a command is about, when you are in more than one.
mailset orgs listshows the ids.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.
One command’s bare word and flags, who can run it, and whether it asks for a passkey. On a group, its commands.
This CLI’s version.
Product email
- MessagesSend email: whole messages from your product, or a person’s own.12 commands
- DeliveryFind what became of a message, recipient by recipient.1 command
- Event hookThe webhook that hears what became of your product’s email.5 commands
- UnsubscribesWho opted out of a mailbox’s or sending domain’s promotional email.2 commands
- App keysThe keys your product’s servers hold, and what each one may do.6 commands
- Key statusWhat the key making a call may do, and when it stops.1 command
- API tokensA person’s own login for scripts.3 commands
- CodesThe newest one-time code an address received.1 command
Campaigns and inbound
Domains
Mailboxes
- MailboxesCreate mailboxes, and decide who holds each one.11 commands
- AliasesMore addresses for one mailbox, catch-alls included.3 commands
- GroupsOne address that reaches several mailboxes.6 commands
- DelegatesLet a teammate read and send from your mailbox.3 commands
- ForwardingSend a mailbox’s new email on to another address.4 commands
- Vacation repliesThe reply people get while you are away.2 commands
- ImportsCopy a mailbox’s email over from a Google account.3 commands
- Mailbox picturesThe picture a mailbox shows inside Mailset.2 commands
- Default addressThe address your new email goes out from.1 command
- ConversationsList, search, read and file conversations.12 commands
- DraftsSave a draft, attach files, and throw one away.6 commands
- AttachmentsDownload a file from a message.1 command
- LabelsYour own labels for conversations.4 commands
- RulesFile, label or forward new email as it arrives.8 commands
- Tab rulesAlways file a sender or a domain in one inbox tab.3 commands
- Blocked sendersDiscard a sender’s new email before it is stored.4 commands
- NotesA note in a shared conversation, for the team only.1 command
- Follow-upsEmail you sent that still waits for an answer.2 commands
- ContactsYour address book: add, merge, import and export.14 commands
- AISummaries, drafts and sorting, and what runs them.15 commands
Organization
- OrganizationsThe orgs you are in, and an org’s name.2 commands
- MembersInvite people, change roles, and remove someone.9 commands
- InvitesInvites nobody has accepted yet.4 commands
- PoliciesThe org’s rules on forwarding and sessions.2 commands
- BillingThe plan, this month’s use, and the prepaid balance.12 commands
- Audit logWhat happened in an org, and who did it.1 command
- Paper keyThe org’s way back in when every passkey is lost.2 commands
Your account
- Sign in and helpSign in, sign out, read a guide, send feedback.5 commands
- Who am IWho a credential signs in as.1 command
- SettingsYour own preferences, on every device.2 commands
- DevicesWhere you are signed in, and signing a device out.3 commands
- PasskeysThe passkeys that sign you in.2 commands
- NotificationsThe devices that get push notifications.3 commands
- ActivityWhat your account has done lately.1 command
- StorageHow much email each of your mailboxes holds.1 command
- ExportsA copy of your whole account, to download.5 commands
- AccountDeactivate or delete your own account.4 commands
- Agent skillTeach the agent apps on this machine how to use Mailset.3 commands