---
title: "Every command"
description: "All 593, one row each, with the endpoint each resource command calls."
url: "https://nextmail.sh/docs/cli/reference/commands"
area: "CLI"
category: "Reference"
---

# Every command

All 593, one row each, with the endpoint each resource command calls.

## Every command

There are 593 commands, each on its own row in the order `nextmail --help` lists them. 46 are written by hand for people: they ask for what is missing, format what they print and combine several API calls where that helps, so their row names no single endpoint. The other 547 are the resource commands, `nextmail <namespace> <verb>` across 53 namespaces, and each one calls the endpoint its row names.

The resource commands are not written one by one. The CLI reads the SDK's method manifest, which describes every method with its parameters, endpoint and scopes, and turns each method into a verb named after the namespace and the method in kebab case, so `domains.createAddress` is `nextmail domains create-address`. A `list` and the `listAll` and `iterate` that walk it become one `list` verb with `--all` and `--max`, which is why there are fewer commands than SDK methods.

The package's parity check proves it before every release. For every SDK method it builds the command line three ways, with the required values only, with them in a `--data` file, and with every flag set, runs the command against a recording `fetch`, and fails when a method has no command or when a command sends anything other than the method, path, query, body and credential the manifest names. It then runs the same command lines through the real parser and dispatcher, and fails on any request that differs from the direct call.

Each row shows the first usage line of its command. `nextmail <command> --help` shows the rest: every argument and flag with what it takes, and examples, and for a resource command its scopes, its endpoint, what it returns and the notes from the API reference. Add `--json` for the same page as one JSON document, and `nextmail --help --json` prints every command, argument and flag at once. Every command also takes the global flags, `--json`, `--yes`, `--dry-run`, `--profile`, `--api-key`, `--base-url`, `--no-input`, `--no-color` and `--debug`, so no row repeats them.

| Command | Calls | Scope |
| --- | --- | --- |
| [nextmail login](https://nextmail.sh/docs/cli/reference/hand-written#login) | - | none |
| [nextmail whoami](https://nextmail.sh/docs/cli/reference/hand-written#whoami) | - | none |
| [nextmail status](https://nextmail.sh/docs/cli/reference/hand-written#status) | - | none |
| [nextmail send --to <address> --subject <text> --text <body> [flags]](https://nextmail.sh/docs/cli/reference/hand-written#send) | - | `emails:send` |
| [nextmail inbox [folder] [flags]](https://nextmail.sh/docs/cli/reference/hand-written#inbox) | - | `threads:read` |
| [nextmail read <thread-id> [flags]](https://nextmail.sh/docs/cli/reference/hand-written#read) | - | `threads:read` |
| [nextmail search <query...> [flags]](https://nextmail.sh/docs/cli/reference/hand-written#search) | - | `threads:read` |
| [nextmail reply <thread-id> --text <body> [flags]](https://nextmail.sh/docs/cli/reference/hand-written#reply) | - | `threads:read` + `emails:send` |
| [nextmail archive <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#archive) | - | `threads:write` |
| [nextmail unarchive <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#unarchive) | - | `threads:write` |
| [nextmail trash <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#trash) | - | `threads:write` |
| [nextmail star <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#star) | - | `threads:write` |
| [nextmail unstar <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#unstar) | - | `threads:write` |
| [nextmail mark read <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#mark-read) | - | `threads:write` |
| [nextmail mark unread <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#mark-unread) | - | `threads:write` |
| [nextmail snooze <thread-id...> --until <when>](https://nextmail.sh/docs/cli/reference/hand-written#snooze) | - | `threads:write` |
| [nextmail unsnooze <thread-id...>](https://nextmail.sh/docs/cli/reference/hand-written#unsnooze) | - | `threads:write` |
| [nextmail label add <thread-id...> --label <label-id>](https://nextmail.sh/docs/cli/reference/hand-written#label-add) | - | `threads:write` |
| [nextmail label remove <thread-id...> --label <label-id>](https://nextmail.sh/docs/cli/reference/hand-written#label-remove) | - | `threads:write` |
| [nextmail temp new [--name <local-part>] [--domain <domain>] [--ttl <minutes>]](https://nextmail.sh/docs/cli/reference/hand-written#temp-new) | - | none |
| [nextmail temp list](https://nextmail.sh/docs/cli/reference/hand-written#temp-list) | - | none |
| [nextmail temp read [inbox] [message-id] [flags]](https://nextmail.sh/docs/cli/reference/hand-written#temp-read) | - | none |
| [nextmail temp watch [inbox] [--first]](https://nextmail.sh/docs/cli/reference/hand-written#temp-watch) | - | none |
| [nextmail temp delete [inbox] [--yes]](https://nextmail.sh/docs/cli/reference/hand-written#temp-delete) | - | none |
| [nextmail ai translate --to <language> [--text <text>\|--html <html>\|--body-file <path>] [--subject <subject>]](https://nextmail.sh/docs/cli/reference/hand-written#ai-translate) | - | `emails:send` |
| [nextmail ai languages [--search <text>]](https://nextmail.sh/docs/cli/reference/hand-written#ai-languages) | - | none |
| [nextmail ai compose "<prompt>" [--to <address>] [--subject <subject>] [--thread <thread-id>] [--tone <tone>]](https://nextmail.sh/docs/cli/reference/hand-written#ai-compose) | - | `drafts:write` |
| [nextmail ai summarize <thread-id>](https://nextmail.sh/docs/cli/reference/hand-written#ai-summarize) | - | `threads:read` |
| [nextmail mcp config [--client <client>]](https://nextmail.sh/docs/cli/reference/hand-written#mcp-config) | - | none |
| [nextmail mcp tools [tool]](https://nextmail.sh/docs/cli/reference/hand-written#mcp-tools) | - | none |
| [nextmail mcp call <tool> [--args <json\|@file\|->] [--arg key=value ...]](https://nextmail.sh/docs/cli/reference/hand-written#mcp-call) | - | none |
| [nextmail mcp serve](https://nextmail.sh/docs/cli/reference/hand-written#mcp-serve) | - | none |
| [nextmail docs ask "<question>"](https://nextmail.sh/docs/cli/reference/hand-written#docs-ask) | - | none |
| [nextmail docs open [slug] [--print]](https://nextmail.sh/docs/cli/reference/hand-written#docs-open) | - | none |
| [nextmail docs read [slug]](https://nextmail.sh/docs/cli/reference/hand-written#docs-read) | - | none |
| [nextmail agents](https://nextmail.sh/docs/cli/reference/hand-written#agents) | - | none |
| [nextmail me get [flags]](https://nextmail.sh/docs/cli/reference/me#me-get) | `GET /keys/self` | none |
| [nextmail me ping [flags]](https://nextmail.sh/docs/cli/reference/me#me-ping) | `GET /ping` | none |
| [nextmail me rotate [flags]](https://nextmail.sh/docs/cli/reference/me#me-rotate) | `POST /keys/self/rotate` | `keys:write` |
| [nextmail me list-requests [flags]](https://nextmail.sh/docs/cli/reference/me#me-list-requests) | `GET /keys/self/requests` | none |
| [nextmail me list-activity [flags]](https://nextmail.sh/docs/cli/reference/me#me-list-activity) | `GET /keys/self/activity` | none |
| [nextmail me stats [flags]](https://nextmail.sh/docs/cli/reference/me#me-stats) | `GET /keys/self/stats` | none |
| [nextmail security list-events [flags]](https://nextmail.sh/docs/cli/reference/security#security-list-events) | `GET /security/events` | `members:read` |
| [nextmail keys list [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-list) | `GET /keys` | `keys:read` |
| [nextmail keys get <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-get) | `GET /keys/{id}` | `keys:read` |
| [nextmail keys create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-create) | `POST /keys` | `keys:manage` |
| [nextmail keys update <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-update) | `PATCH /keys/{id}` | `keys:manage` |
| [nextmail keys delete <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-delete) | `DELETE /keys/{id}` | `keys:manage` |
| [nextmail keys rotate <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-rotate) | `POST /keys/{id}/rotate` | `keys:manage` |
| [nextmail keys revoke <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-revoke) | `POST /keys/{id}/revoke` | `keys:manage` |
| [nextmail keys list-requests <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-list-requests) | `GET /keys/{id}/requests` | `keys:read` |
| [nextmail keys list-activity <id> [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-list-activity) | `GET /keys/{id}/activity` | `keys:read` |
| [nextmail keys list-workspace-requests [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-list-workspace-requests) | `GET /keys/requests` | `keys:read` |
| [nextmail keys list-workspace-activity [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-list-workspace-activity) | `GET /keys/activity` | `keys:read` |
| [nextmail keys stats [flags]](https://nextmail.sh/docs/cli/reference/keys#keys-stats) | `GET /keys/stats` | `keys:read` + `emails:read` |
| [nextmail addresses list [flags]](https://nextmail.sh/docs/cli/reference/addresses#addresses-list) | `GET /addresses` | `emails:send` |
| [nextmail languages list [flags]](https://nextmail.sh/docs/cli/reference/languages#languages-list) | `GET /languages` | none |
| [nextmail emails send --from <value> --to <a,b> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-send) | `POST /emails` | `emails:send` |
| [nextmail emails send-batch <emails> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-send-batch) | `POST /emails/batch` | `emails:send` |
| [nextmail emails translate --to <value> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-translate) | `POST /emails/translate` | `emails:send` |
| [nextmail emails check [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-check) | `POST /emails/check` | `emails:send` |
| [nextmail emails list [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-list) | `GET /emails` | `emails:read` |
| [nextmail emails get <id> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-get) | `GET /emails/{id}` | `emails:read` |
| [nextmail emails list-events <id> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-list-events) | `GET /emails/{id}/events` | `emails:read` |
| [nextmail emails get-tracking <id> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-get-tracking) | `GET /emails/{id}/tracking` | `emails:read` |
| [nextmail emails cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-cancel) | `POST /emails/{id}/cancel` | `emails:send` |
| [nextmail emails reschedule <id> <scheduled-at> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-reschedule) | `PATCH /emails/{id}` | `emails:send` |
| [nextmail emails update <id> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-update) | `PATCH /emails/{id}` | `emails:send` |
| [nextmail emails compose --prompt <value> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-compose) | `POST /emails/compose` | `emails:send` |
| [nextmail emails rewrite --text <value> --action <value> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-rewrite) | `POST /emails/rewrite` | `emails:send` |
| [nextmail emails suggest-subject --message <value> [flags]](https://nextmail.sh/docs/cli/reference/emails#emails-suggest-subject) | `POST /emails/subject` | `emails:send` |
| [nextmail templates list [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list) | `GET /templates` | `templates:read` |
| [nextmail templates get <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-get) | `GET /templates/{id}` | `templates:read` |
| [nextmail templates create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-create) | `POST /templates` | `templates:write` |
| [nextmail templates update <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-update) | `PATCH /templates/{id}` | `templates:write` |
| [nextmail templates duplicate <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-duplicate) | `POST /templates/{id}/duplicate` | `templates:write` |
| [nextmail templates replace-content <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-replace-content) | `POST /templates/{id}/content` | `templates:write` |
| [nextmail templates delete <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-delete) | `DELETE /templates/{id}` | `templates:write` |
| [nextmail templates list-versions <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list-versions) | `GET /templates/{id}/versions` | `templates:read` |
| [nextmail templates get-version <id-or-slug> <version> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-get-version) | `GET /templates/{id}/versions/{version}` | `templates:read` |
| [nextmail templates publish <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-publish) | `POST /templates/{id}/versions` | `templates:write` |
| [nextmail templates restore-version <id-or-slug> <version> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-restore-version) | `POST /templates/{id}/versions/{version}/restore` | `templates:write` |
| [nextmail templates delete-version <id-or-slug> <version> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-delete-version) | `DELETE /templates/{id}/versions/{version}` | `templates:write` |
| [nextmail templates list-starters [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list-starters) | `GET /templates/starters` | `templates:read` |
| [nextmail templates get-starter <slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-get-starter) | `GET /templates/starters/{slug}` | `templates:read` |
| [nextmail templates list-fonts [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list-fonts) | `GET /templates/fonts` | `templates:read` |
| [nextmail templates render [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-render) | `POST /templates/render` | `templates:read` |
| [nextmail templates preview <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-preview) | `POST /templates/{id}/preview` | `templates:read` |
| [nextmail templates get-analytics <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-get-analytics) | `GET /templates/{id}/analytics` | `templates:read` |
| [nextmail templates list-sends <id-or-slug> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list-sends) | `GET /templates/{id}/sends` | `templates:read` |
| [nextmail templates send <id-or-slug> --from <value> --to <a,b> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-send) | `POST /templates/{id}/send` | `templates:write` + `emails:send` |
| [nextmail templates list-images [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-list-images) | `GET /templates/images` | `templates:read` |
| [nextmail templates upload-image <data> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-upload-image) | `POST /templates/images` | `templates:write` |
| [nextmail templates design --name <value> --brief <value> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-design) | `POST /templates/design` | `templates:write` |
| [nextmail templates redesign <id-or-slug> --instructions <value> [flags]](https://nextmail.sh/docs/cli/reference/templates#templates-redesign) | `POST /templates/{id}/redesign` | `templates:write` |
| [nextmail tracking list [flags]](https://nextmail.sh/docs/cli/reference/tracking#tracking-list) | `GET /tracking` | `emails:read` |
| [nextmail tracking get-stats [flags]](https://nextmail.sh/docs/cli/reference/tracking#tracking-get-stats) | `GET /tracking/stats` | `emails:read` |
| [nextmail tracking get <id> [flags]](https://nextmail.sh/docs/cli/reference/tracking#tracking-get) | `GET /tracking/{id}` | `emails:read` |
| [nextmail tracking list-opens <id> [flags]](https://nextmail.sh/docs/cli/reference/tracking#tracking-list-opens) | `GET /tracking/{id}/opens` | `emails:read` |
| [nextmail tracking list-clicks <id> [flags]](https://nextmail.sh/docs/cli/reference/tracking#tracking-list-clicks) | `GET /tracking/{id}/clicks` | `emails:read` |
| [nextmail threads list [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list) | `GET /threads` | `threads:read` |
| [nextmail threads get <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-get) | `GET /threads/{id}` | `threads:read` |
| [nextmail threads update <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-update) | `PATCH /threads/{id}` | `threads:write` |
| [nextmail threads trash <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-trash) | `POST /threads/{id}/trash` | `threads:write` |
| [nextmail threads snooze <id> <wake-at> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-snooze) | `POST /threads/{id}/snooze` | `threads:write` |
| [nextmail threads unsnooze <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-unsnooze) | `POST /threads/{id}/unsnooze` | `threads:write` |
| [nextmail threads mute <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-mute) | `POST /threads/{id}/mute` | `threads:write` |
| [nextmail threads unmute <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-unmute) | `POST /threads/{id}/unmute` | `threads:write` |
| [nextmail threads list-messages <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list-messages) | `GET /threads/{id}/messages` | `threads:read` |
| [nextmail threads get-message <id> <message-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-get-message) | `GET /threads/{id}/messages/{messageId}` | `threads:read` |
| [nextmail threads list-attachments <id> <message-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list-attachments) | `GET /threads/{id}/messages/{messageId}/attachments` | `threads:read` |
| [nextmail threads list-notes <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list-notes) | `GET /threads/{id}/notes` | `threads:read` |
| [nextmail threads create-note <id> --content <value> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-create-note) | `POST /threads/{id}/notes` | `threads:write` |
| [nextmail threads update-note <id> <note-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-update-note) | `PATCH /threads/{id}/notes/{noteId}` | `threads:write` |
| [nextmail threads delete-note <id> <note-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-delete-note) | `DELETE /threads/{id}/notes/{noteId}` | `threads:write` |
| [nextmail threads reorder-notes <id> <ids...> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-reorder-notes) | `POST /threads/{id}/notes/reorder` | `threads:write` |
| [nextmail threads counts [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-counts) | `GET /threads/counts` | `threads:read` |
| [nextmail threads summary <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-summary) | `GET /threads/{id}/summary` | `threads:read` |
| [nextmail threads reply-suggestions <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-reply-suggestions) | `GET /threads/{id}/reply-suggestions` | `threads:read` |
| [nextmail threads restore <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-restore) | `POST /threads/{id}/restore` | `threads:write` |
| [nextmail threads delete <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-delete) | `DELETE /threads/{id}` | `threads:write` |
| [nextmail threads unsubscribe <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-unsubscribe) | `POST /threads/{id}/unsubscribe` | `threads:write` |
| [nextmail threads get-event <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-get-event) | `GET /threads/{id}/event` | `calendar:read` |
| [nextmail threads list-sender-categories [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list-sender-categories) | `GET /sender-categories` | `threads:read` |
| [nextmail threads set-sender-category <email> <category> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-set-sender-category) | `PUT /sender-categories/{email}` | `threads:write` |
| [nextmail threads clear-sender-category <email> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-clear-sender-category) | `DELETE /sender-categories/{email}` | `threads:write` |
| [nextmail threads get-team <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-get-team) | `GET /threads/{id}/team` | `threads:read` |
| [nextmail threads assign <id> <assignee-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-assign) | `PUT /threads/{id}/assignee` | `threads:write` |
| [nextmail threads unassign <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-unassign) | `DELETE /threads/{id}/assignee` | `threads:write` |
| [nextmail threads mark-done <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-mark-done) | `POST /threads/{id}/done` | `threads:write` |
| [nextmail threads reopen <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-reopen) | `POST /threads/{id}/reopen` | `threads:write` |
| [nextmail threads list-comments <id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-list-comments) | `GET /threads/{id}/comments` | `threads:read` |
| [nextmail threads create-comment <id> --body <value> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-create-comment) | `POST /threads/{id}/comments` | `threads:write` |
| [nextmail threads update-comment <id> <comment-id> --body <value> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-update-comment) | `PATCH /threads/{id}/comments/{commentId}` | `threads:write` |
| [nextmail threads delete-comment <id> <comment-id> [flags]](https://nextmail.sh/docs/cli/reference/threads#threads-delete-comment) | `DELETE /threads/{id}/comments/{commentId}` | `threads:write` |
| [nextmail follow-ups list [flags]](https://nextmail.sh/docs/cli/reference/follow-ups#follow-ups-list) | `GET /follow-ups` | `threads:read` |
| [nextmail follow-ups set --thread-id <value> --remind-at <when> [flags]](https://nextmail.sh/docs/cli/reference/follow-ups#follow-ups-set) | `POST /follow-ups` | `threads:write` |
| [nextmail follow-ups cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/follow-ups#follow-ups-cancel) | `DELETE /follow-ups/{id}` | `threads:write` |
| [nextmail drafts list [flags]](https://nextmail.sh/docs/cli/reference/drafts#drafts-list) | `GET /drafts` | `drafts:read` |
| [nextmail drafts get <id> [flags]](https://nextmail.sh/docs/cli/reference/drafts#drafts-get) | `GET /drafts/{id}` | `drafts:read` |
| [nextmail drafts create [flags]](https://nextmail.sh/docs/cli/reference/drafts#drafts-create) | `POST /drafts` | `drafts:write` |
| [nextmail drafts update <id> [flags]](https://nextmail.sh/docs/cli/reference/drafts#drafts-update) | `PATCH /drafts/{id}` | `drafts:write` |
| [nextmail drafts delete <id> [flags]](https://nextmail.sh/docs/cli/reference/drafts#drafts-delete) | `DELETE /drafts/{id}` | `drafts:write` |
| [nextmail labels list [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-list) | `GET /labels` | `labels:read` |
| [nextmail labels list-colors [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-list-colors) | `GET /labels/colors` | `labels:read` |
| [nextmail labels get <id> [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-get) | `GET /labels/{id}` | `labels:read` |
| [nextmail labels create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-create) | `POST /labels` | `labels:write` |
| [nextmail labels update <id> [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-update) | `PATCH /labels/{id}` | `labels:write` |
| [nextmail labels test <id> [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-test) | `POST /labels/{id}/test` | `labels:write` + `threads:read` |
| [nextmail labels delete <id> [flags]](https://nextmail.sh/docs/cli/reference/labels#labels-delete) | `DELETE /labels/{id}` | `labels:write` |
| [nextmail contacts list [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list) | `GET /contacts` | `contacts:read` |
| [nextmail contacts get <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-get) | `GET /contacts/{email}` | `contacts:read` |
| [nextmail contacts create --email <value> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-create) | `POST /contacts` | `contacts:write` |
| [nextmail contacts update <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-update) | `PATCH /contacts/{email}` | `contacts:write` |
| [nextmail contacts delete <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-delete) | `DELETE /contacts/{email}` | `contacts:write` |
| [nextmail contacts set-audiences <email> --audience-ids <a,b> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-set-audiences) | `PUT /contacts/{email}/audiences` | `audiences:write` |
| [nextmail contacts list-people [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-people) | `GET /contacts/people` | `contacts:read` |
| [nextmail contacts save <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-save) | `PUT /contacts/{email}` | `contacts:write` |
| [nextmail contacts delete-many <emails...> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-delete-many) | `POST /contacts/batch-delete` | `contacts:write` |
| [nextmail contacts set-photo <email> <data> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-set-photo) | `PUT /contacts/{email}/photo` | `contacts:write` |
| [nextmail contacts remove-photo <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-remove-photo) | `DELETE /contacts/{email}/photo` | `contacts:write` |
| [nextmail contacts block <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-block) | `POST /contacts/{email}/block` | `settings:write` |
| [nextmail contacts unblock <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-unblock) | `DELETE /contacts/{email}/block` | `settings:write` |
| [nextmail contacts list-threads <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-threads) | `GET /contacts/{email}/threads` | `threads:read` |
| [nextmail contacts activity <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-activity) | `GET /contacts/{email}/activity` | `threads:read` |
| [nextmail contacts list-events <email> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-events) | `GET /contacts/{email}/events` | `contacts:read` |
| [nextmail contacts list-cards [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-cards) | `GET /contacts/cards` | `contacts:read` |
| [nextmail contacts get-card <id> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-get-card) | `GET /contacts/cards/{id}` | `contacts:read` |
| [nextmail contacts create-card [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-create-card) | `POST /contacts/cards` | `contacts:write` |
| [nextmail contacts update-card <id> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-update-card) | `PATCH /contacts/cards/{id}` | `contacts:write` |
| [nextmail contacts delete-card <id> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-delete-card) | `DELETE /contacts/cards/{id}` | `contacts:write` |
| [nextmail contacts find-duplicate-cards [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-find-duplicate-cards) | `GET /contacts/cards/duplicates` | `contacts:read` |
| [nextmail contacts merge-cards <id> --card-ids <a,b> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-merge-cards) | `POST /contacts/cards/{id}/merge` | `contacts:write` |
| [nextmail contacts list-birthdays --from <when> --to <when> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-birthdays) | `GET /contacts/birthdays` | `contacts:read` |
| [nextmail contacts import-vcf <data> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-import-vcf) | `POST /contacts/imports` | `contacts:write` |
| [nextmail contacts list-imports [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-list-imports) | `GET /contacts/imports` | `contacts:read` |
| [nextmail contacts get-import <id> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-get-import) | `GET /contacts/imports/{id}` | `contacts:read` |
| [nextmail contacts undo-import <id> [flags]](https://nextmail.sh/docs/cli/reference/contacts#contacts-undo-import) | `POST /contacts/imports/{id}/undo` | `contacts:write` |
| [nextmail audiences list [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-list) | `GET /audiences` | `audiences:read` |
| [nextmail audiences growth [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-growth) | `GET /audiences/growth` | `audiences:read` |
| [nextmail audiences get <id> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-get) | `GET /audiences/{id}` | `audiences:read` |
| [nextmail audiences create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-create) | `POST /audiences` | `audiences:write` |
| [nextmail audiences update <id> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-update) | `PATCH /audiences/{id}` | `audiences:write` |
| [nextmail audiences delete <id> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-delete) | `DELETE /audiences/{id}` | `audiences:write` |
| [nextmail audiences empty <id> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-empty) | `POST /audiences/{id}/empty` | `audiences:write` |
| [nextmail audiences list-contacts <id> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-list-contacts) | `GET /audiences/{id}/contacts` | `audiences:read` |
| [nextmail audiences add-contact <id> --email <value> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-add-contact) | `POST /audiences/{id}/contacts` | `audiences:write` |
| [nextmail audiences remove-contact <id> <email> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-remove-contact) | `DELETE /audiences/{id}/contacts/{email}` | `audiences:write` |
| [nextmail audiences add-contacts <id> --emails <a,b> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-add-contacts) | `POST /audiences/{id}/contacts/batch` | `audiences:write` |
| [nextmail audiences remove-contacts <id> --emails <a,b> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-remove-contacts) | `POST /audiences/{id}/contacts/batch-remove` | `audiences:write` |
| [nextmail audiences import-contacts <id> --contacts <json\|@file\|-> [flags]](https://nextmail.sh/docs/cli/reference/audiences#audiences-import-contacts) | `POST /audiences/{id}/import` | `audiences:write` + `contacts:write` |
| [nextmail segments list [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-list) | `GET /segments` | `audiences:read` |
| [nextmail segments get <id> [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-get) | `GET /segments/{id}` | `audiences:read` |
| [nextmail segments create --name <value> --definition <json\|@file\|-> [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-create) | `POST /segments` | `audiences:write` |
| [nextmail segments update <id> [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-update) | `PATCH /segments/{id}` | `audiences:write` |
| [nextmail segments delete <id> [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-delete) | `DELETE /segments/{id}` | `audiences:write` |
| [nextmail segments preview --definition <json\|@file\|-> [flags]](https://nextmail.sh/docs/cli/reference/segments#segments-preview) | `POST /segments/preview` | `audiences:read` |
| [nextmail forms list [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-list) | `GET /forms` | `forms:read` |
| [nextmail forms create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-create) | `POST /forms` | `forms:write` |
| [nextmail forms design --brief <value> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-design) | `POST /forms/design` | `forms:write` |
| [nextmail forms redesign <id> --instructions <value> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-redesign) | `POST /forms/{id}/redesign` | `forms:write` |
| [nextmail forms list-starters [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-list-starters) | `GET /forms/starters` | `forms:read` |
| [nextmail forms get-starter <slug> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-get-starter) | `GET /forms/starters/{slug}` | `forms:read` |
| [nextmail forms get <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-get) | `GET /forms/{id}` | `forms:read` |
| [nextmail forms update <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-update) | `PATCH /forms/{id}` | `forms:write` |
| [nextmail forms delete <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-delete) | `DELETE /forms/{id}` | `forms:write` |
| [nextmail forms publish <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-publish) | `POST /forms/{id}/publish` | `forms:write` |
| [nextmail forms pause <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-pause) | `POST /forms/{id}/pause` | `forms:write` |
| [nextmail forms resume <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-resume) | `POST /forms/{id}/resume` | `forms:write` |
| [nextmail forms duplicate <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-duplicate) | `POST /forms/{id}/duplicate` | `forms:write` |
| [nextmail forms analytics <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-analytics) | `GET /forms/{id}/analytics` | `forms:read` |
| [nextmail forms list-submissions <id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-list-submissions) | `GET /forms/{id}/submissions` | `forms:read` |
| [nextmail forms get-submission <id> <submission-id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-get-submission) | `GET /forms/{id}/submissions/{submissionId}` | `forms:read` |
| [nextmail forms delete-submission <id> <submission-id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-delete-submission) | `DELETE /forms/{id}/submissions/{submissionId}` | `forms:write` |
| [nextmail forms delete-submissions <id> <submission-ids...> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-delete-submissions) | `POST /forms/{id}/submissions/batch-remove` | `forms:write` |
| [nextmail forms approve-submission <id> <submission-id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-approve-submission) | `POST /forms/{id}/submissions/{submissionId}/approve` | `forms:write` + `contacts:write` |
| [nextmail forms resend-confirmation <id> <submission-id> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-resend-confirmation) | `POST /forms/{id}/submissions/{submissionId}/resend` | `forms:write` + `emails:send` |
| [nextmail forms subscribe <form-id> --email <value> [flags]](https://nextmail.sh/docs/cli/reference/forms#forms-subscribe) | `POST /subscribe/{formId}` | none |
| [nextmail automations list [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-list) | `GET /automations` | `automations:read` |
| [nextmail automations create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-create) | `POST /automations` | `automations:write` |
| [nextmail automations list-starters [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-list-starters) | `GET /automations/starters` | `automations:read` |
| [nextmail automations get <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-get) | `GET /automations/{id}` | `automations:read` |
| [nextmail automations update <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-update) | `PATCH /automations/{id}` | `automations:write` |
| [nextmail automations delete <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-delete) | `DELETE /automations/{id}` | `automations:write` |
| [nextmail automations publish <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-publish) | `POST /automations/{id}/publish` | `automations:write` + `emails:send` |
| [nextmail automations pause <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-pause) | `POST /automations/{id}/pause` | `automations:write` |
| [nextmail automations resume <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-resume) | `POST /automations/{id}/resume` | `automations:write` + `emails:send` |
| [nextmail automations archive <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-archive) | `POST /automations/{id}/archive` | `automations:write` |
| [nextmail automations duplicate <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-duplicate) | `POST /automations/{id}/duplicate` | `automations:write` |
| [nextmail automations send-test <id> --step-key <value> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-send-test) | `POST /automations/{id}/test` | `automations:write` + `emails:send` |
| [nextmail automations list-versions <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-list-versions) | `GET /automations/{id}/versions` | `automations:read` |
| [nextmail automations restore-version <id> <version> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-restore-version) | `POST /automations/{id}/versions/{version}/restore` | `automations:write` |
| [nextmail automations stats <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-stats) | `GET /automations/{id}/stats` | `automations:read` |
| [nextmail automations analytics [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-analytics) | `GET /automations/analytics` | `automations:read` |
| [nextmail automations list-runs <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-list-runs) | `GET /automations/{id}/runs` | `automations:read` |
| [nextmail automations list-enrollments <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-list-enrollments) | `GET /automations/{id}/enrollments` | `automations:read` |
| [nextmail automations get-enrollment <id> <enrollment-id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-get-enrollment) | `GET /automations/{id}/enrollments/{enrollmentId}` | `automations:read` |
| [nextmail automations enroll <id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-enroll) | `POST /automations/{id}/enrollments` | `automations:write` |
| [nextmail automations exit-enrollment <id> <enrollment-id> [flags]](https://nextmail.sh/docs/cli/reference/automations#automations-exit-enrollment) | `POST /automations/{id}/enrollments/{enrollmentId}/exit` | `automations:write` |
| [nextmail events send --name <value> [flags]](https://nextmail.sh/docs/cli/reference/events#events-send) | `POST /events` | `contacts:write` |
| [nextmail events send-batch <events> [flags]](https://nextmail.sh/docs/cli/reference/events#events-send-batch) | `POST /events/batch` | `contacts:write` |
| [nextmail events list-names [flags]](https://nextmail.sh/docs/cli/reference/events#events-list-names) | `GET /events/names` | `automations:read` |
| [nextmail broadcasts preview --audience-ids <a,b> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-preview) | `POST /broadcasts/preview` | `audiences:read` |
| [nextmail broadcasts send --audience-ids <a,b> --from <value> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-send) | `POST /broadcasts` | `emails:send` + `audiences:read` |
| [nextmail broadcasts list [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-list) | `GET /broadcasts` | `emails:read` |
| [nextmail broadcasts get <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-get) | `GET /broadcasts/{id}` | `emails:read` |
| [nextmail broadcasts stats <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-stats) | `GET /broadcasts/{id}/stats` | `emails:read` |
| [nextmail broadcasts analytics [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-analytics) | `GET /broadcasts/analytics` | `emails:read` |
| [nextmail broadcasts list-recipients <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-list-recipients) | `GET /broadcasts/{id}/recipients` | `emails:read` |
| [nextmail broadcasts get-recipient <id> <email-id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-get-recipient) | `GET /broadcasts/{id}/recipients/{emailId}` | `emails:read` |
| [nextmail broadcasts cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-cancel) | `POST /broadcasts/{id}/cancel` | `emails:send` |
| [nextmail broadcasts create-draft --from <value> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-create-draft) | `POST /broadcasts/drafts` | `emails:send` + `audiences:read` |
| [nextmail broadcasts update <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-update) | `PATCH /broadcasts/{id}` | `emails:send` + `audiences:read` |
| [nextmail broadcasts send-draft <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-send-draft) | `POST /broadcasts/{id}/send` | `emails:send` + `audiences:read` |
| [nextmail broadcasts duplicate <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-duplicate) | `POST /broadcasts/{id}/duplicate` | `emails:send` + `audiences:read` |
| [nextmail broadcasts resend <id> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-resend) | `POST /broadcasts/{id}/resend` | `emails:send` + `audiences:read` |
| [nextmail broadcasts send-test --from <value> [flags]](https://nextmail.sh/docs/cli/reference/broadcasts#broadcasts-send-test) | `POST /broadcasts/test` | `emails:send` |
| [nextmail domains list [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-list) | `GET /domains` | `domains:read` |
| [nextmail domains get <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get) | `GET /domains/{id}` | `domains:read` |
| [nextmail domains create --domain <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-create) | `POST /domains` | `domains:write` |
| [nextmail domains verify <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-verify) | `POST /domains/{id}/verify` | `domains:write` |
| [nextmail domains update <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-update) | `PATCH /domains/{id}` | `domains:write` |
| [nextmail domains delete <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-delete) | `DELETE /domains/{id}` | `domains:write` |
| [nextmail domains get-logo <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get-logo) | `GET /domains/{id}/logo` | `domains:read` |
| [nextmail domains set-logo <id> --svg <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-set-logo) | `PUT /domains/{id}/logo` | `domains:write` |
| [nextmail domains remove-logo <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-remove-logo) | `DELETE /domains/{id}/logo` | `domains:write` |
| [nextmail domains set-logo-certificate <id> --certificate <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-set-logo-certificate) | `PUT /domains/{id}/logo/certificate` | `domains:write` |
| [nextmail domains remove-logo-certificate <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-remove-logo-certificate) | `DELETE /domains/{id}/logo/certificate` | `domains:write` |
| [nextmail domains list-addresses <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-list-addresses) | `GET /domains/{id}/addresses` | `domains:read` |
| [nextmail domains create-address <id> --local-part <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-create-address) | `POST /domains/{id}/addresses` | `domains:write` |
| [nextmail domains get-address <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get-address) | `GET /domains/{id}/addresses/{addressId}` | `domains:read` |
| [nextmail domains update-address <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-update-address) | `PATCH /domains/{id}/addresses/{addressId}` | `domains:write` |
| [nextmail domains set-address-photo <id> <address-id> <data> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-set-address-photo) | `PUT /domains/{id}/addresses/{addressId}/photo` | `domains:write` |
| [nextmail domains remove-address-photo <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-remove-address-photo) | `DELETE /domains/{id}/addresses/{addressId}/photo` | `domains:write` |
| [nextmail domains delete-address <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-delete-address) | `DELETE /domains/{id}/addresses/{addressId}` | `domains:write` |
| [nextmail domains list-address-forwards <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-list-address-forwards) | `GET /domains/{id}/addresses/{addressId}/forwards` | `domains:read` |
| [nextmail domains add-address-forwards <id> <address-id> --emails <a,b> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-add-address-forwards) | `POST /domains/{id}/addresses/{addressId}/forwards` | `domains:write` |
| [nextmail domains update-address-forward <id> <address-id> <forward-id> --enabled [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-update-address-forward) | `PATCH /domains/{id}/addresses/{addressId}/forwards/{forwardId}` | `domains:write` |
| [nextmail domains delete-address-forward <id> <address-id> <forward-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-delete-address-forward) | `DELETE /domains/{id}/addresses/{addressId}/forwards/{forwardId}` | `domains:write` |
| [nextmail domains resend-address-forward-consent <id> <address-id> <forward-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-resend-address-forward-consent) | `POST /domains/{id}/addresses/{addressId}/forwards/{forwardId}/resend` | `domains:write` |
| [nextmail domains list-address-members <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-list-address-members) | `GET /domains/{id}/addresses/{addressId}/members` | `members:read` |
| [nextmail domains get-address-login <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get-address-login) | `GET /domains/{id}/addresses/{addressId}/login` | `members:write` |
| [nextmail domains set-address-login <id> <address-id> --password <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-set-address-login) | `PUT /domains/{id}/addresses/{addressId}/login` | `members:write` |
| [nextmail domains delete-address-login <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-delete-address-login) | `DELETE /domains/{id}/addresses/{addressId}/login` | `members:write` |
| [nextmail domains get-mail-app-settings <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get-mail-app-settings) | `GET /domains/{id}/addresses/{addressId}/mail-apps` | `domains:read` |
| [nextmail domains update-mail-app-settings <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-update-mail-app-settings) | `PATCH /domains/{id}/addresses/{addressId}/mail-apps` | `domains:write` |
| [nextmail domains list-app-passwords <id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-list-app-passwords) | `GET /domains/{id}/addresses/{addressId}/app-passwords` | `members:write` |
| [nextmail domains create-app-password <id> <address-id> --name <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-create-app-password) | `POST /domains/{id}/addresses/{addressId}/app-passwords` | `members:write` |
| [nextmail domains update-app-password <id> <address-id> <password-id> --name <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-update-app-password) | `PATCH /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}` | `members:write` |
| [nextmail domains delete-app-password <id> <address-id> <password-id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-delete-app-password) | `DELETE /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}` | `members:write` |
| [nextmail domains send-mail-app-setup <id> <address-id> --recipient <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-send-mail-app-setup) | `POST /domains/{id}/addresses/{addressId}/mail-app-setup` | `members:write` |
| [nextmail domains get-dns <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-get-dns) | `GET /domains/{id}/dns` | `domains:read` |
| [nextmail domains set-dns-zone <id> --connection-id <value> --zone-id <value> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-set-dns-zone) | `PUT /domains/{id}/dns` | `domains:write` |
| [nextmail domains sync-dns <id> [flags]](https://nextmail.sh/docs/cli/reference/domains#domains-sync-dns) | `POST /domains/{id}/dns/sync` | `domains:write` |
| [nextmail app-host get [flags]](https://nextmail.sh/docs/cli/reference/app-host#app-host-get) | `GET /app-host` | `domains:read` |
| [nextmail app-host set --host <value> [flags]](https://nextmail.sh/docs/cli/reference/app-host#app-host-set) | `PUT /app-host` | `domains:write` |
| [nextmail app-host verify [flags]](https://nextmail.sh/docs/cli/reference/app-host#app-host-verify) | `POST /app-host/verify` | `domains:write` |
| [nextmail app-host delete [flags]](https://nextmail.sh/docs/cli/reference/app-host#app-host-delete) | `DELETE /app-host` | `domains:write` |
| [nextmail branding get [flags]](https://nextmail.sh/docs/cli/reference/branding#branding-get) | `GET /branding` | `settings:read` |
| [nextmail branding update [flags]](https://nextmail.sh/docs/cli/reference/branding#branding-update) | `PATCH /branding` | `settings:write` |
| [nextmail branding upload-image <variant> <data> [flags]](https://nextmail.sh/docs/cli/reference/branding#branding-upload-image) | `PUT /branding/images/{variant}` | `settings:write` |
| [nextmail branding remove-image <variant> [flags]](https://nextmail.sh/docs/cli/reference/branding#branding-remove-image) | `DELETE /branding/images/{variant}` | `settings:write` |
| [nextmail rules list [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-list) | `GET /rules` | `rules:read` |
| [nextmail rules get <id> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-get) | `GET /rules/{id}` | `rules:read` |
| [nextmail rules create --name <value> --conditions <json\|@file\|-> --actions <json\|@file\|-> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-create) | `POST /rules` | `rules:write` |
| [nextmail rules update <id> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-update) | `PATCH /rules/{id}` | `rules:write` |
| [nextmail rules delete <id> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-delete) | `DELETE /rules/{id}` | `rules:write` |
| [nextmail rules reorder <rule-ids...> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-reorder) | `POST /rules/reorder` | `rules:write` |
| [nextmail rules test <id> [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-test) | `POST /rules/{id}/test` | `rules:read` |
| [nextmail rules list-runs [flags]](https://nextmail.sh/docs/cli/reference/rules#rules-list-runs) | `GET /rules/runs` | `rules:read` |
| [nextmail webhooks list [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list) | `GET /webhooks` | `webhooks:read` |
| [nextmail webhooks get <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-get) | `GET /webhooks/{id}` | `webhooks:read` |
| [nextmail webhooks create --url <value> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-create) | `POST /webhooks` | `webhooks:write` |
| [nextmail webhooks update <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-update) | `PATCH /webhooks/{id}` | `webhooks:write` |
| [nextmail webhooks delete <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-delete) | `DELETE /webhooks/{id}` | `webhooks:write` |
| [nextmail webhooks rotate-secret <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-rotate-secret) | `POST /webhooks/{id}/rotate-secret` | `webhooks:write` |
| [nextmail webhooks test <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-test) | `POST /webhooks/{id}/test` | `webhooks:write` |
| [nextmail webhooks list-deliveries <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list-deliveries) | `GET /webhooks/{id}/deliveries` | `webhooks:read` |
| [nextmail webhooks get-delivery <id> <delivery-id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-get-delivery) | `GET /webhooks/{id}/deliveries/{deliveryId}` | `webhooks:read` |
| [nextmail webhooks replay-delivery <id> <delivery-id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-replay-delivery) | `POST /webhooks/{id}/deliveries/{deliveryId}/replay` | `webhooks:write` |
| [nextmail webhooks list-workspace-deliveries [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list-workspace-deliveries) | `GET /webhooks/deliveries` | `webhooks:read` |
| [nextmail webhooks list-activity <id> [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list-activity) | `GET /webhooks/{id}/activity` | `webhooks:read` |
| [nextmail webhooks list-workspace-activity [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list-workspace-activity) | `GET /webhooks/activity` | `webhooks:read` |
| [nextmail webhooks list-events [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-list-events) | `GET /webhooks/events` | `webhooks:read` |
| [nextmail webhooks stats [flags]](https://nextmail.sh/docs/cli/reference/webhooks#webhooks-stats) | `GET /webhooks/stats` | `webhooks:read` |
| [nextmail imports list [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-list) | `GET /imports` | `threads:read` |
| [nextmail imports get <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-get) | `GET /imports/{id}` | `threads:read` |
| [nextmail imports create --address-id <value> --files <json\|@file\|-> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-create) | `POST /imports` | `threads:write` |
| [nextmail imports upload-state <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-upload-state) | `GET /imports/{id}/upload` | `threads:write` |
| [nextmail imports upload-chunk <id> <file> <chunk> <data> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-upload-chunk) | `PUT /imports/{id}/files/{file}/chunks/{chunk}` | `threads:write` |
| [nextmail imports start <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-start) | `POST /imports/{id}/start` | `threads:write` |
| [nextmail imports cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-cancel) | `POST /imports/{id}/cancel` | `threads:write` |
| [nextmail imports list-failures <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-list-failures) | `GET /imports/{id}/failures` | `threads:read` |
| [nextmail imports delete-upload <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-delete-upload) | `DELETE /imports/{id}/upload` | `threads:write` |
| [nextmail imports import-files --address-id <value> --files <path> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-import-files) | `POST /imports` | `threads:write` |
| [nextmail imports discover-mailbox <email> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-discover-mailbox) | `GET /imports/mailbox-settings` | `threads:write` |
| [nextmail imports check-mailbox --email <value> --password <value> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-check-mailbox) | `POST /imports/mailbox/check` | `threads:write` |
| [nextmail imports connect-mailbox --address-id <value> --email <value> --password <value> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-connect-mailbox) | `POST /imports/mailbox` | `threads:write` |
| [nextmail imports resume <id> [flags]](https://nextmail.sh/docs/cli/reference/imports#imports-resume) | `POST /imports/{id}/resume` | `threads:write` |
| [nextmail provider-imports inspect <api-key> [flags]](https://nextmail.sh/docs/cli/reference/provider-imports#provider-imports-inspect) | `POST /provider-imports/inspect` | `settings:write` |
| [nextmail provider-imports create --provider-key <value> --resources <a,b> [flags]](https://nextmail.sh/docs/cli/reference/provider-imports#provider-imports-create) | `POST /provider-imports` | `settings:write` |
| [nextmail provider-imports list [flags]](https://nextmail.sh/docs/cli/reference/provider-imports#provider-imports-list) | `GET /provider-imports` | `settings:read` |
| [nextmail provider-imports get <id> [flags]](https://nextmail.sh/docs/cli/reference/provider-imports#provider-imports-get) | `GET /provider-imports/{id}` | `settings:read` |
| [nextmail provider-imports cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/provider-imports#provider-imports-cancel) | `POST /provider-imports/{id}/cancel` | `settings:write` |
| [nextmail calendar list-events --from <when> --to <when> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-list-events) | `GET /calendar/events` | `calendar:read` |
| [nextmail calendar get-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-get-event) | `GET /calendar/events/{id}` | `calendar:read` |
| [nextmail calendar get-event-ics <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-get-event-ics) | `GET /calendar/events/{id}/ics` | `calendar:read` |
| [nextmail calendar create-event --summary <value> --start <when> --end <when> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-create-event) | `POST /calendar/events` | `calendar:write` |
| [nextmail calendar update-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-update-event) | `PATCH /calendar/events/{id}` | `calendar:write` |
| [nextmail calendar delete-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-delete-event) | `DELETE /calendar/events/{id}` | `calendar:write` |
| [nextmail calendar cancel-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-cancel-event) | `POST /calendar/events/{id}/cancel` | `calendar:write` |
| [nextmail calendar respond-to-event <id> --response <value> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-respond-to-event) | `POST /calendar/events/{id}/respond` | `calendar:write` + `emails:send` |
| [nextmail calendar decline-proposal <id> --attendee <value> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-decline-proposal) | `POST /calendar/events/{id}/decline-proposal` | `calendar:write` + `emails:send` |
| [nextmail calendar hide-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-hide-event) | `POST /calendar/events/{id}/hide` | `calendar:write` |
| [nextmail calendar unhide-event <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-unhide-event) | `POST /calendar/events/{id}/unhide` | `calendar:write` |
| [nextmail calendar free-busy --emails <a,b> --from <when> --to <when> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-free-busy) | `GET /calendar/free-busy` | `calendar:read` |
| [nextmail calendar list-feeds [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-list-feeds) | `GET /calendar/feeds` | `calendar:read` |
| [nextmail calendar create-feed --name <value> --mode <value> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-create-feed) | `POST /calendar/feeds` | `calendar:write` |
| [nextmail calendar reset-feed <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-reset-feed) | `POST /calendar/feeds/{id}/reset` | `calendar:write` |
| [nextmail calendar delete-feed <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-delete-feed) | `DELETE /calendar/feeds/{id}` | `calendar:write` |
| [nextmail calendar list-subscriptions [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-list-subscriptions) | `GET /calendar/subscriptions` | `calendar:read` |
| [nextmail calendar create-subscription --url <value> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-create-subscription) | `POST /calendar/subscriptions` | `calendar:write` |
| [nextmail calendar update-subscription <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-update-subscription) | `PATCH /calendar/subscriptions/{id}` | `calendar:write` |
| [nextmail calendar refresh-subscription <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-refresh-subscription) | `POST /calendar/subscriptions/{id}/refresh` | `calendar:write` |
| [nextmail calendar delete-subscription <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-delete-subscription) | `DELETE /calendar/subscriptions/{id}` | `calendar:write` |
| [nextmail calendar import-ics <data> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-import-ics) | `POST /calendar/imports` | `calendar:write` |
| [nextmail calendar list-imports [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-list-imports) | `GET /calendar/imports` | `calendar:read` |
| [nextmail calendar get-import <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-get-import) | `GET /calendar/imports/{id}` | `calendar:read` |
| [nextmail calendar undo-import <id> [flags]](https://nextmail.sh/docs/cli/reference/calendar#calendar-undo-import) | `POST /calendar/imports/{id}/undo` | `calendar:write` |
| [nextmail settings get [flags]](https://nextmail.sh/docs/cli/reference/settings#settings-get) | `GET /settings` | `settings:read` |
| [nextmail settings update [flags]](https://nextmail.sh/docs/cli/reference/settings#settings-update) | `PATCH /settings` | `settings:write` |
| [nextmail out-of-office list [flags]](https://nextmail.sh/docs/cli/reference/out-of-office#out-of-office-list) | `GET /out-of-office` | `settings:read` |
| [nextmail out-of-office set <address> --message <value> [flags]](https://nextmail.sh/docs/cli/reference/out-of-office#out-of-office-set) | `PUT /out-of-office` | `settings:write` |
| [nextmail out-of-office clear <address> [flags]](https://nextmail.sh/docs/cli/reference/out-of-office#out-of-office-clear) | `DELETE /out-of-office` | `settings:write` |
| [nextmail roles list [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-list) | `GET /roles` | `roles:read` |
| [nextmail roles get <id> [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-get) | `GET /roles/{id}` | `roles:read` |
| [nextmail roles create --name <value> --permissions <a,b> [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-create) | `POST /roles` | `roles:write` |
| [nextmail roles update <id> [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-update) | `PATCH /roles/{id}` | `roles:write` |
| [nextmail roles delete <id> [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-delete) | `DELETE /roles/{id}` | `roles:write` |
| [nextmail roles list-permissions [flags]](https://nextmail.sh/docs/cli/reference/roles#roles-list-permissions) | `GET /roles/permissions` | `roles:read` |
| [nextmail members list [flags]](https://nextmail.sh/docs/cli/reference/members#members-list) | `GET /members` | `members:read` |
| [nextmail members get <user-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-get) | `GET /members/{userId}` | `members:read` |
| [nextmail members add --email <value> --role-id <value> [flags]](https://nextmail.sh/docs/cli/reference/members#members-add) | `POST /members` | `members:write` |
| [nextmail members update <user-id> --role-id <value> [flags]](https://nextmail.sh/docs/cli/reference/members#members-update) | `PATCH /members/{userId}` | `members:write` |
| [nextmail members remove <user-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-remove) | `DELETE /members/{userId}` | `members:write` |
| [nextmail members grant-address <user-id> --address-id <value> [flags]](https://nextmail.sh/docs/cli/reference/members#members-grant-address) | `POST /members/{userId}/addresses` | `members:write` |
| [nextmail members revoke-address <user-id> <address-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-revoke-address) | `DELETE /members/{userId}/addresses/{addressId}` | `members:write` |
| [nextmail members grant-domain <user-id> --domain-id <value> [flags]](https://nextmail.sh/docs/cli/reference/members#members-grant-domain) | `POST /members/{userId}/domains` | `members:write` |
| [nextmail members revoke-domain <user-id> <domain-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-revoke-domain) | `DELETE /members/{userId}/domains/{domainId}` | `members:write` |
| [nextmail members list-invitations [flags]](https://nextmail.sh/docs/cli/reference/members#members-list-invitations) | `GET /members/invitations` | `members:read` |
| [nextmail members revoke-invitation <invitation-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-revoke-invitation) | `DELETE /members/invitations/{invitationId}` | `members:write` |
| [nextmail members resend-invitation <invitation-id> [flags]](https://nextmail.sh/docs/cli/reference/members#members-resend-invitation) | `POST /members/invitations/{invitationId}/resend` | `members:write` |
| [nextmail suppressions list [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-list) | `GET /suppressions` | `settings:read` |
| [nextmail suppressions get <id> [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-get) | `GET /suppressions/{id}` | `settings:read` |
| [nextmail suppressions add --email <value> [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-add) | `POST /suppressions` | `settings:write` |
| [nextmail suppressions remove <id> [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-remove) | `DELETE /suppressions/{id}` | `settings:write` |
| [nextmail suppressions list-unsubscribes [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-list-unsubscribes) | `GET /suppressions/unsubscribes` | `settings:read` |
| [nextmail suppressions add-unsubscribe --email <value> [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-add-unsubscribe) | `POST /suppressions/unsubscribes` | `settings:write` |
| [nextmail suppressions remove-unsubscribe <email> [flags]](https://nextmail.sh/docs/cli/reference/suppressions#suppressions-remove-unsubscribe) | `DELETE /suppressions/unsubscribes/{email}` | `settings:write` |
| [nextmail sending list-streams [flags]](https://nextmail.sh/docs/cli/reference/sending#sending-list-streams) | `GET /sending/streams` | `emails:read` |
| [nextmail sending resume-stream <stream> [flags]](https://nextmail.sh/docs/cli/reference/sending#sending-resume-stream) | `POST /sending/streams/{stream}/resume` | `domains:write` |
| [nextmail sending list-dedicated-ips [flags]](https://nextmail.sh/docs/cli/reference/sending#sending-list-dedicated-ips) | `GET /sending/dedicated-ips` | `domains:read` |
| [nextmail sending get-dedicated-ip <ip> [flags]](https://nextmail.sh/docs/cli/reference/sending#sending-get-dedicated-ip) | `GET /sending/dedicated-ips/{ip}` | `domains:read` |
| [nextmail files list [flags]](https://nextmail.sh/docs/cli/reference/files#files-list) | `GET /files` | `files:read` |
| [nextmail files get <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-get) | `GET /files/{id}` | `files:read` |
| [nextmail files stats [flags]](https://nextmail.sh/docs/cli/reference/files#files-stats) | `GET /files/stats` | `files:read` |
| [nextmail files download <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-download) | `GET /files/{id}/content` | `files:read` |
| [nextmail files list-links <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-list-links) | `GET /files/{id}/links` | `files:read` |
| [nextmail files create-link <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-create-link) | `POST /files/{id}/links` | `files:write` |
| [nextmail files revoke-link <id> <link-id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-revoke-link) | `DELETE /files/{id}/links/{linkId}` | `files:write` |
| [nextmail files revoke-all-links <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-revoke-all-links) | `DELETE /files/{id}/links` | `files:write` |
| [nextmail files upload <data> [flags]](https://nextmail.sh/docs/cli/reference/files#files-upload) | `POST /files` | `files:write` |
| [nextmail files delete <id> [flags]](https://nextmail.sh/docs/cli/reference/files#files-delete) | `DELETE /files/{id}` | `files:write` |
| [nextmail files delete-many <ids...> [flags]](https://nextmail.sh/docs/cli/reference/files#files-delete-many) | `POST /files/batch-delete` | `files:write` |
| [nextmail knowledge list [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-list) | `GET /knowledge` | `knowledge:read` |
| [nextmail knowledge levels [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-levels) | `GET /knowledge/levels` | `knowledge:read` |
| [nextmail knowledge usage [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-usage) | `GET /knowledge/usage` | `knowledge:read` |
| [nextmail knowledge search --query <value> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-search) | `POST /knowledge/search` | `knowledge:read` |
| [nextmail knowledge create-note --title <value> --body <value> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-create-note) | `POST /knowledge/notes` | `knowledge:write` |
| [nextmail knowledge add-link --url <value> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-add-link) | `POST /knowledge/links` | `knowledge:write` |
| [nextmail knowledge upload-file <data> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-upload-file) | `POST /knowledge/files` | `knowledge:write` |
| [nextmail knowledge get <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-get) | `GET /knowledge/{id}` | `knowledge:read` |
| [nextmail knowledge update <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-update) | `PATCH /knowledge/{id}` | `knowledge:write` |
| [nextmail knowledge delete <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-delete) | `DELETE /knowledge/{id}` | `knowledge:write` |
| [nextmail knowledge refresh <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-refresh) | `POST /knowledge/{id}/refresh` | `knowledge:write` |
| [nextmail knowledge stats [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-stats) | `GET /knowledge/stats` | `knowledge:read` |
| [nextmail knowledge list-suggestions [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-list-suggestions) | `GET /knowledge/suggestions` | `knowledge:read` |
| [nextmail knowledge accept-suggestion <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-accept-suggestion) | `POST /knowledge/suggestions/{id}/accept` | `knowledge:write` |
| [nextmail knowledge dismiss-suggestion <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-dismiss-suggestion) | `POST /knowledge/suggestions/{id}/dismiss` | `knowledge:write` |
| [nextmail knowledge list-flags [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-list-flags) | `GET /knowledge/flags` | `knowledge:read` |
| [nextmail knowledge dismiss-flag <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-dismiss-flag) | `POST /knowledge/flags/{id}/dismiss` | `knowledge:write` |
| [nextmail knowledge list-connectors [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-list-connectors) | `GET /knowledge/connectors` | `knowledge:read` |
| [nextmail knowledge add-connector --kind <value> --url <value> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-add-connector) | `POST /knowledge/connectors` | `knowledge:write` |
| [nextmail knowledge get-connector <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-get-connector) | `GET /knowledge/connectors/{id}` | `knowledge:read` |
| [nextmail knowledge update-connector <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-update-connector) | `PATCH /knowledge/connectors/{id}` | `knowledge:write` |
| [nextmail knowledge delete-connector <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-delete-connector) | `DELETE /knowledge/connectors/{id}` | `knowledge:write` |
| [nextmail knowledge sync-connector <id> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-sync-connector) | `POST /knowledge/connectors/{id}/sync` | `knowledge:write` |
| [nextmail knowledge draft-from-thread --thread-id <value> [flags]](https://nextmail.sh/docs/cli/reference/knowledge#knowledge-draft-from-thread) | `POST /knowledge/drafts` | `knowledge:write` + `threads:read` |
| [nextmail temp-mail list-domains [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-list-domains) | `GET /temp-mail/domains` | none |
| [nextmail temp-mail create [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-create) | `POST /temp-mail/inboxes` | none |
| [nextmail temp-mail get <inbox-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-get) | `GET /temp-mail/inboxes/{id}` | inbox token |
| [nextmail temp-mail extend <inbox-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-extend) | `POST /temp-mail/inboxes/{id}/extend` | inbox token |
| [nextmail temp-mail delete <inbox-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-delete) | `DELETE /temp-mail/inboxes/{id}` | inbox token |
| [nextmail temp-mail list-messages <inbox-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-list-messages) | `GET /temp-mail/inboxes/{id}/messages` | inbox token |
| [nextmail temp-mail get-message <inbox-id> <message-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-get-message) | `GET /temp-mail/inboxes/{id}/messages/{messageId}` | inbox token |
| [nextmail temp-mail delete-message <inbox-id> <message-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-delete-message) | `DELETE /temp-mail/inboxes/{id}/messages/{messageId}` | inbox token |
| [nextmail temp-mail list-attachments <inbox-id> <message-id> [flags]](https://nextmail.sh/docs/cli/reference/temp-mail#temp-mail-list-attachments) | `GET /temp-mail/inboxes/{id}/messages/{messageId}/attachments` | inbox token |
| [nextmail tools check-dmarc <domain> [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-check-dmarc) | `GET /tools/dmarc` | none |
| [nextmail tools check-bimi <domain> [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-check-bimi) | `GET /tools/bimi` | none |
| [nextmail tools check-deliverability <domain> [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-check-deliverability) | `GET /tools/deliverability` | none |
| [nextmail tools read-verification-code [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-read-verification-code) | `POST /tools/verification-code` | none |
| [nextmail tools estimate-cost [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-estimate-cost) | `GET /tools/cost` | none |
| [nextmail tools check-address <email> [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-check-address) | `GET /tools/address` | none |
| [nextmail tools check-addresses --emails <a,b> [flags]](https://nextmail.sh/docs/cli/reference/tools#tools-check-addresses) | `POST /tools/addresses` | none |
| [nextmail support send --topic <value> --message <value> [flags]](https://nextmail.sh/docs/cli/reference/support#support-send) | `POST /support` | none |
| [nextmail encryption list-keys [flags]](https://nextmail.sh/docs/cli/reference/encryption#encryption-list-keys) | `GET /encryption/keys` | `emails:read` |
| [nextmail encryption publish-key --address <value> --public-key <value> --fingerprint <value> [flags]](https://nextmail.sh/docs/cli/reference/encryption#encryption-publish-key) | `POST /encryption/keys` | `emails:read` |
| [nextmail encryption lookup-keys --addresses <a,b> [flags]](https://nextmail.sh/docs/cli/reference/encryption#encryption-lookup-keys) | `GET /encryption/keys/lookup` | `emails:send` |
| [nextmail senders get <email> [flags]](https://nextmail.sh/docs/cli/reference/senders#senders-get) | `GET /senders/{email}` | `threads:read` |
| [nextmail senders research <email> [flags]](https://nextmail.sh/docs/cli/reference/senders#senders-research) | `POST /senders/{email}/research` | `threads:read` |
| [nextmail chats list [flags]](https://nextmail.sh/docs/cli/reference/chats#chats-list) | `GET /chats` | `threads:read` |
| [nextmail chats get <id> [flags]](https://nextmail.sh/docs/cli/reference/chats#chats-get) | `GET /chats/{id}` | `threads:read` |
| [nextmail chats rename <id> <title> [flags]](https://nextmail.sh/docs/cli/reference/chats#chats-rename) | `PATCH /chats/{id}` | `threads:write` |
| [nextmail chats delete <id> [flags]](https://nextmail.sh/docs/cli/reference/chats#chats-delete) | `DELETE /chats/{id}` | `threads:write` |
| [nextmail analytics mailbox [flags]](https://nextmail.sh/docs/cli/reference/analytics#analytics-mailbox) | `GET /analytics/mailbox` | `threads:read` |
| [nextmail analytics sending [flags]](https://nextmail.sh/docs/cli/reference/analytics#analytics-sending) | `GET /analytics/sending` | `emails:read` |
| [nextmail subscriptions list [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-list) | `GET /subscriptions` | `threads:read` |
| [nextmail subscriptions list-domains [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-list-domains) | `GET /subscriptions/domains` | `threads:read` |
| [nextmail subscriptions keep <ids...> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-keep) | `POST /subscriptions/batch-keep` | `threads:write` |
| [nextmail subscriptions unsubscribe <id> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-unsubscribe) | `POST /subscriptions/{id}/unsubscribe` | `threads:write` |
| [nextmail subscriptions unsubscribe-many <ids...> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-unsubscribe-many) | `POST /subscriptions/batch-unsubscribe` | `threads:write` |
| [nextmail subscriptions unsubscribe-domain <domain> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-unsubscribe-domain) | `POST /subscriptions/domains/{domain}/unsubscribe` | `threads:write` |
| [nextmail subscriptions move <id> --destination <value> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-move) | `POST /subscriptions/{id}/move` | `threads:write` |
| [nextmail subscriptions move-many <ids...> --destination <value> [flags]](https://nextmail.sh/docs/cli/reference/subscriptions#subscriptions-move-many) | `POST /subscriptions/batch-move` | `threads:write` |
| [nextmail exports preview [flags]](https://nextmail.sh/docs/cli/reference/exports#exports-preview) | `GET /exports/preview` | `threads:read` + `emails:read` + `drafts:read` + `files:read` + `labels:read` + `contacts:read` + `audiences:read` + `calendar:read` + `templates:read` + `rules:read` |
| [nextmail exports list [flags]](https://nextmail.sh/docs/cli/reference/exports#exports-list) | `GET /exports` | `threads:read` + `emails:read` + `drafts:read` + `files:read` + `labels:read` + `contacts:read` + `audiences:read` + `calendar:read` + `templates:read` + `rules:read` |
| [nextmail exports get <id> [flags]](https://nextmail.sh/docs/cli/reference/exports#exports-get) | `GET /exports/{id}` | `threads:read` + `emails:read` + `drafts:read` + `files:read` + `labels:read` + `contacts:read` + `audiences:read` + `calendar:read` + `templates:read` + `rules:read` |
| [nextmail exports start [flags]](https://nextmail.sh/docs/cli/reference/exports#exports-start) | `POST /exports` | `threads:read` + `emails:read` + `drafts:read` + `files:read` + `labels:read` + `contacts:read` + `audiences:read` + `calendar:read` + `templates:read` + `rules:read` |
| [nextmail exports download <id> [flags]](https://nextmail.sh/docs/cli/reference/exports#exports-download) | `GET /exports/{id}/content` | `threads:read` + `emails:read` + `drafts:read` + `files:read` + `labels:read` + `contacts:read` + `audiences:read` + `calendar:read` + `templates:read` + `rules:read` |
| [nextmail dns-connections list [flags]](https://nextmail.sh/docs/cli/reference/dns-connections#dns-connections-list) | `GET /dns-connections` | `domains:read` |
| [nextmail dns-connections get <id> [flags]](https://nextmail.sh/docs/cli/reference/dns-connections#dns-connections-get) | `GET /dns-connections/{id}` | `domains:read` |
| [nextmail dns-connections delete <id> [flags]](https://nextmail.sh/docs/cli/reference/dns-connections#dns-connections-delete) | `DELETE /dns-connections/{id}` | `domains:write` |
| [nextmail billing get [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-get) | `GET /billing` | `billing:read` |
| [nextmail billing list-plans [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-list-plans) | `GET /billing/plans` | `billing:read` |
| [nextmail billing get-usage [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-get-usage) | `GET /billing/usage` | `billing:read` |
| [nextmail billing list-alerts [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-list-alerts) | `GET /billing/alerts` | `billing:read` |
| [nextmail billing list-countries [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-list-countries) | `GET /billing/countries` | `billing:read` |
| [nextmail billing get-pay-as-you-go [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-get-pay-as-you-go) | `GET /billing/pay-as-you-go` | `billing:read` |
| [nextmail billing set-pay-as-you-go --enabled [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-set-pay-as-you-go) | `PATCH /billing/pay-as-you-go` | `billing:write` |
| [nextmail billing set-pay-as-you-go-limit --limit-cents <n> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-set-pay-as-you-go-limit) | `PUT /billing/pay-as-you-go/limit` | `billing:write` |
| [nextmail billing confirm-pay-as-you-go [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-confirm-pay-as-you-go) | `POST /billing/pay-as-you-go/confirm` | `billing:write` |
| [nextmail billing start-checkout --plan <value> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-start-checkout) | `POST /billing/checkout` | `billing:write` |
| [nextmail billing open-portal [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-open-portal) | `POST /billing/portal` | `billing:write` |
| [nextmail billing list-invoices [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-list-invoices) | `GET /billing/invoices` | `billing:read` |
| [nextmail billing get-invoice <order-id> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-get-invoice) | `GET /billing/invoices/{orderId}` | `billing:read` |
| [nextmail billing save-invoice-details <order-id> --name <value> --line1 <value> --city <value> --country <value> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-save-invoice-details) | `PUT /billing/invoices/{orderId}/details` | `billing:write` |
| [nextmail billing list-add-ons [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-list-add-ons) | `GET /billing/add-ons` | `billing:read` |
| [nextmail billing start-add-on-checkout --add-on <value> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-start-add-on-checkout) | `POST /billing/add-ons/checkout` | `billing:write` |
| [nextmail billing cancel-add-on <add-on> [flags]](https://nextmail.sh/docs/cli/reference/billing#billing-cancel-add-on) | `DELETE /billing/add-ons/{addOn}` | `billing:write` |
| [nextmail workspaces list [flags]](https://nextmail.sh/docs/cli/reference/workspaces#workspaces-list) | `GET /workspaces` | `account:read` |
| [nextmail workspaces create --name <value> [flags]](https://nextmail.sh/docs/cli/reference/workspaces#workspaces-create) | `POST /workspaces` | `account:write` |
| [nextmail workspaces get-active [flags]](https://nextmail.sh/docs/cli/reference/workspaces#workspaces-get-active) | `GET /workspaces/active` | `account:read` |
| [nextmail workspaces set-active <workspace-id> [flags]](https://nextmail.sh/docs/cli/reference/workspaces#workspaces-set-active) | `PUT /workspaces/active` | `account:write` |
| [nextmail workspaces delete <id> --confirm <value> [flags]](https://nextmail.sh/docs/cli/reference/workspaces#workspaces-delete) | `DELETE /workspaces/{id}` | `account:write` |
| [nextmail account get-notifications [flags]](https://nextmail.sh/docs/cli/reference/account#account-get-notifications) | `GET /account/notifications` | `account:read` |
| [nextmail account set-email-notification <category> --enabled [flags]](https://nextmail.sh/docs/cli/reference/account#account-set-email-notification) | `PUT /account/notifications/email/{category}` | `account:write` |
| [nextmail account set-push-muted <workspace-id> --muted [flags]](https://nextmail.sh/docs/cli/reference/account#account-set-push-muted) | `PUT /account/notifications/push/{workspaceId}` | `account:write` |
| [nextmail account set-photo <data> [flags]](https://nextmail.sh/docs/cli/reference/account#account-set-photo) | `PUT /account/photo` | `account:write` |
| [nextmail account remove-photo [flags]](https://nextmail.sh/docs/cli/reference/account#account-remove-photo) | `DELETE /account/photo` | `account:write` |
| [nextmail account get-username [flags]](https://nextmail.sh/docs/cli/reference/account#account-get-username) | `GET /account/username` | `account:read` |
| [nextmail account check-username <username> [flags]](https://nextmail.sh/docs/cli/reference/account#account-check-username) | `GET /account/username/availability` | `account:read` |
| [nextmail account set-username <username> [flags]](https://nextmail.sh/docs/cli/reference/account#account-set-username) | `PUT /account/username` | `account:write` |
| [nextmail account list-connected-apps [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-connected-apps) | `GET /account/connected-apps` | `account:read` |
| [nextmail account list-connected-app-requests <client-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-connected-app-requests) | `GET /account/connected-apps/{clientId}/requests` | `account:read` |
| [nextmail account revoke-connected-app <client-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-revoke-connected-app) | `DELETE /account/connected-apps/{clientId}` | `account:write` |
| [nextmail account list-sessions [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-sessions) | `GET /account/sessions` | `account:read` |
| [nextmail account revoke-session <session-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-revoke-session) | `DELETE /account/sessions/{sessionId}` | `account:write` |
| [nextmail account revoke-sessions [flags]](https://nextmail.sh/docs/cli/reference/account#account-revoke-sessions) | `DELETE /account/sessions` | `account:write` |
| [nextmail account list-security-events [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-security-events) | `GET /account/security-events` | `account:read` |
| [nextmail account list-passkeys [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-passkeys) | `GET /account/passkeys` | `account:read` |
| [nextmail account rename-passkey <passkey-id> <name> [flags]](https://nextmail.sh/docs/cli/reference/account#account-rename-passkey) | `PATCH /account/passkeys/{passkeyId}` | `account:write` |
| [nextmail account remove-passkey <passkey-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-remove-passkey) | `DELETE /account/passkeys/{passkeyId}` | `account:write` |
| [nextmail account list-invitations [flags]](https://nextmail.sh/docs/cli/reference/account#account-list-invitations) | `GET /account/invitations` | `account:read` |
| [nextmail account accept-invitation <invitation-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-accept-invitation) | `POST /account/invitations/{invitationId}/accept` | `account:write` |
| [nextmail account decline-invitation <invitation-id> [flags]](https://nextmail.sh/docs/cli/reference/account#account-decline-invitation) | `POST /account/invitations/{invitationId}/decline` | `account:write` |
| [nextmail signatures list [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-list) | `GET /signatures` | `settings:read` |
| [nextmail signatures get <id> [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-get) | `GET /signatures/{id}` | `settings:read` |
| [nextmail signatures create --address <value> --name <value> --html <value> [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-create) | `POST /signatures` | `settings:write` |
| [nextmail signatures update <id> [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-update) | `PATCH /signatures/{id}` | `settings:write` |
| [nextmail signatures delete <id> [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-delete) | `DELETE /signatures/{id}` | `settings:write` |
| [nextmail signatures copy <id> --addresses <a,b> [flags]](https://nextmail.sh/docs/cli/reference/signatures#signatures-copy) | `POST /signatures/{id}/copy` | `settings:write` |
| [nextmail tasks list [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-list) | `GET /tasks` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks get <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-get) | `GET /tasks/{id}` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks create --name <value> --instruction <value> --trigger-kind <value> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-create) | `POST /tasks` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks update <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-update) | `PATCH /tasks/{id}` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks delete <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-delete) | `DELETE /tasks/{id}` | `tasks:write` |
| [nextmail tasks pause <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-pause) | `POST /tasks/{id}/pause` | `tasks:write` |
| [nextmail tasks resume <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-resume) | `POST /tasks/{id}/resume` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks run <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-run) | `POST /tasks/{id}/run` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks list-runs [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-list-runs) | `GET /task-runs` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks get-run <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-get-run) | `GET /task-runs/{id}` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks start-run --instruction <value> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-start-run) | `POST /task-runs` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks cancel-run <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-cancel-run) | `POST /task-runs/{id}/cancel` | `tasks:write` |
| [nextmail tasks list-approvals [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-list-approvals) | `GET /task-approvals` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks get-approval <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-get-approval) | `GET /task-approvals/{id}` | `tasks:read` + `threads:read` + `emails:read` |
| [nextmail tasks approve <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-approve) | `POST /task-approvals/{id}/approve` | `tasks:write` + `threads:read` + `threads:write` + `emails:read` + `emails:send` + `labels:write` |
| [nextmail tasks deny <id> [flags]](https://nextmail.sh/docs/cli/reference/tasks#tasks-deny) | `POST /task-approvals/{id}/deny` | `tasks:write` |
| [nextmail bookings list-pages [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-list-pages) | `GET /booking-pages` | `calendar:read` |
| [nextmail bookings get-page <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-get-page) | `GET /booking-pages/{id}` | `calendar:read` |
| [nextmail bookings create-page --name <value> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-create-page) | `POST /booking-pages` | `calendar:write` + `emails:send` |
| [nextmail bookings update-page <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-update-page) | `PATCH /booking-pages/{id}` | `calendar:write` + `emails:send` |
| [nextmail bookings upload-background <id> <data> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-upload-background) | `PUT /booking-pages/{id}/background` | `calendar:write` + `emails:send` |
| [nextmail bookings remove-background <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-remove-background) | `DELETE /booking-pages/{id}/background` | `calendar:write` + `emails:send` |
| [nextmail bookings delete-page <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-delete-page) | `DELETE /booking-pages/{id}` | `calendar:write` |
| [nextmail bookings list-times <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-list-times) | `GET /booking-pages/{id}/times` | `calendar:read` |
| [nextmail bookings list [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-list) | `GET /bookings` | `calendar:read` |
| [nextmail bookings get <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-get) | `GET /bookings/{id}` | `calendar:read` |
| [nextmail bookings approve <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-approve) | `POST /bookings/{id}/approve` | `calendar:write` + `emails:send` |
| [nextmail bookings decline <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-decline) | `POST /bookings/{id}/decline` | `calendar:write` + `emails:send` |
| [nextmail bookings cancel <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-cancel) | `POST /bookings/{id}/cancel` | `calendar:write` + `emails:send` |
| [nextmail bookings resend-email <id> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-resend-email) | `POST /bookings/{id}/resend` | `calendar:write` + `emails:send` |
| [nextmail bookings analytics [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-analytics) | `GET /bookings/analytics` | `calendar:read` |
| [nextmail bookings reschedule <id> --start <when> [flags]](https://nextmail.sh/docs/cli/reference/bookings#bookings-reschedule) | `POST /bookings/{id}/reschedule` | `calendar:write` + `emails:send` |
| [nextmail connectors list-apps [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-list-apps) | `GET /connector-apps` | `connectors:read` |
| [nextmail connectors get-app <slug> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-get-app) | `GET /connector-apps/{slug}` | `connectors:read` |
| [nextmail connectors list-categories [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-list-categories) | `GET /connector-categories` | `connectors:read` |
| [nextmail connectors list [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-list) | `GET /connectors` | `connectors:read` |
| [nextmail connectors get <id> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-get) | `GET /connectors/{id}` | `connectors:read` |
| [nextmail connectors connect --app <value> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-connect) | `POST /connectors` | `connectors:write` |
| [nextmail connectors update <id> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-update) | `PATCH /connectors/{id}` | `connectors:write` |
| [nextmail connectors disconnect <id> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-disconnect) | `DELETE /connectors/{id}` | `connectors:write` |
| [nextmail connectors reconnect <id> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-reconnect) | `POST /connectors/{id}/reconnect` | `connectors:write` |
| [nextmail connectors list-actions <id> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-list-actions) | `GET /connectors/{id}/actions` | `connectors:use` |
| [nextmail connectors get-action <id> <action> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-get-action) | `GET /connectors/{id}/actions/{action}` | `connectors:use` |
| [nextmail connectors run-action <id> <action> [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-run-action) | `POST /connectors/{id}/actions/{action}/run` | `connectors:use` |
| [nextmail connectors list-calls [flags]](https://nextmail.sh/docs/cli/reference/connectors#connectors-list-calls) | `GET /connector-calls` | `connectors:read` |
| [nextmail connected-mailboxes list [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-list) | `GET /connected-mailboxes` | `threads:read` |
| [nextmail connected-mailboxes get <id> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-get) | `GET /connected-mailboxes/{id}` | `threads:read` |
| [nextmail connected-mailboxes discover <email> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-discover) | `GET /connected-mailboxes/settings` | `domains:write` |
| [nextmail connected-mailboxes connect --email <value> --password <value> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-connect) | `POST /connected-mailboxes` | `domains:write` |
| [nextmail connected-mailboxes update <id> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-update) | `PATCH /connected-mailboxes/{id}` | `domains:write` |
| [nextmail connected-mailboxes sync <id> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-sync) | `POST /connected-mailboxes/{id}/sync` | `threads:write` |
| [nextmail connected-mailboxes disconnect <id> [flags]](https://nextmail.sh/docs/cli/reference/connected-mailboxes#connected-mailboxes-disconnect) | `DELETE /connected-mailboxes/{id}` | `domains:write` |
| [nextmail verify](https://nextmail.sh/docs/cli/reference/hand-written#verify) | - | none |
| [nextmail logout](https://nextmail.sh/docs/cli/reference/hand-written#logout) | - | none |
| [nextmail profile list](https://nextmail.sh/docs/cli/reference/hand-written#profile-list) | - | none |
| [nextmail profile use <name>](https://nextmail.sh/docs/cli/reference/hand-written#profile-use) | - | none |
| [nextmail profile remove <name>](https://nextmail.sh/docs/cli/reference/hand-written#profile-remove) | - | none |
| [nextmail profile current](https://nextmail.sh/docs/cli/reference/hand-written#profile-current) | - | none |
| [nextmail open [page] [--print]](https://nextmail.sh/docs/cli/reference/hand-written#open) | - | none |
| [nextmail update](https://nextmail.sh/docs/cli/reference/hand-written#update) | - | none |
| [nextmail completion <bash\|zsh\|fish>](https://nextmail.sh/docs/cli/reference/hand-written#completion) | - | none |
| [nextmail api <method> <path> [--data <json\|@file\|->] [--query <key=value>] [--header <key=value>]](https://nextmail.sh/docs/cli/reference/hand-written#api) | - | none |

> Scope names what every run of the command needs. With a saved sign-in the CLI checks it before the command does anything, and a missing scope stops it with exit code `4`. `api` and `mcp call` name none, because what they need depends on the endpoint or the tool you call, and the server checks that. The `temp-mail` rows that say "inbox token" send the `oe_inbox_` token that `temp-mail create` or `temp-mail extend` returned, which the CLI saves, and `--inbox-token` passes one it did not create.

> 6 commands need a browser sign-in, the kind `nextmail login` saves when you choose the browser: `ai compose`, `ai summarize`, `mcp tools`, `mcp call`, `mcp serve` and `verify`. The AI and MCP ones run on the MCP server, which accepts no API key, and `verify` enters the verification codes that only a browser sign-in is asked for.

> 19 hand-written commands need no sign-in at all: `login`, `temp new`, `temp list`, `temp read`, `temp watch`, `temp delete`, `mcp config`, `docs ask`, `docs open`, `docs read`, `agents`, `logout`, `profile list`, `profile use`, `profile remove`, `profile current`, `open`, `update` and `completion`. Neither do the `temp-mail` rows. `ai languages` works signed in or not.

> 108 commands are destructive, such as deleting, revoking, rotating, cancelling or emptying, so they ask you to confirm first and stop with exit code `2` when nobody can answer. `--yes` confirms for you, and `--dry-run` runs the reads and prints the request that would change something instead of sending it.

> `nextmail --help` leaves out a few commands, and so does this table. `help` is the long form of `--help`, `version` prints the CLI, SDK and runtime versions, and `verify` covers the `security` verbs.
