Skip to the documentation
CLI

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.

CommandCallsScope
nextmail login-none
nextmail whoami-none
nextmail status-none
nextmail send --to <address> --subject <text> --text <body> [flags]-emails:send
nextmail inbox [folder] [flags]-threads:read
nextmail read <thread-id> [flags]-threads:read
nextmail search <query...> [flags]-threads:read
nextmail reply <thread-id> --text <body> [flags]-threads:read + emails:send
nextmail archive <thread-id...>-threads:write
nextmail unarchive <thread-id...>-threads:write
nextmail trash <thread-id...>-threads:write
nextmail star <thread-id...>-threads:write
nextmail unstar <thread-id...>-threads:write
nextmail mark read <thread-id...>-threads:write
nextmail mark unread <thread-id...>-threads:write
nextmail snooze <thread-id...> --until <when>-threads:write
nextmail unsnooze <thread-id...>-threads:write
nextmail label add <thread-id...> --label <label-id>-threads:write
nextmail label remove <thread-id...> --label <label-id>-threads:write
nextmail temp new [--name <local-part>] [--domain <domain>] [--ttl <minutes>]-none
nextmail temp list-none
nextmail temp read [inbox] [message-id] [flags]-none
nextmail temp watch [inbox] [--first]-none
nextmail temp delete [inbox] [--yes]-none
nextmail ai translate --to <language> [--text <text>|--html <html>|--body-file <path>] [--subject <subject>]-emails:send
nextmail ai languages [--search <text>]-none
nextmail ai compose "<prompt>" [--to <address>] [--subject <subject>] [--thread <thread-id>] [--tone <tone>]-drafts:write
nextmail ai summarize <thread-id>-threads:read
nextmail mcp config [--client <client>]-none
nextmail mcp tools [tool]-none
nextmail mcp call <tool> [--args <json|@file|->] [--arg key=value ...]-none
nextmail mcp serve-none
nextmail docs ask "<question>"-none
nextmail docs open [slug] [--print]-none
nextmail docs read [slug]-none
nextmail agents-none
nextmail me get [flags]GET /keys/selfnone
nextmail me ping [flags]GET /pingnone
nextmail me rotate [flags]POST /keys/self/rotatekeys:write
nextmail me list-requests [flags]GET /keys/self/requestsnone
nextmail me list-activity [flags]GET /keys/self/activitynone
nextmail me stats [flags]GET /keys/self/statsnone
nextmail security list-events [flags]GET /security/eventsmembers:read
nextmail keys list [flags]GET /keyskeys:read
nextmail keys get <id> [flags]GET /keys/{id}keys:read
nextmail keys create --name <value> [flags]POST /keyskeys:manage
nextmail keys update <id> [flags]PATCH /keys/{id}keys:manage
nextmail keys delete <id> [flags]DELETE /keys/{id}keys:manage
nextmail keys rotate <id> [flags]POST /keys/{id}/rotatekeys:manage
nextmail keys revoke <id> [flags]POST /keys/{id}/revokekeys:manage
nextmail keys list-requests <id> [flags]GET /keys/{id}/requestskeys:read
nextmail keys list-activity <id> [flags]GET /keys/{id}/activitykeys:read
nextmail keys list-workspace-requests [flags]GET /keys/requestskeys:read
nextmail keys list-workspace-activity [flags]GET /keys/activitykeys:read
nextmail keys stats [flags]GET /keys/statskeys:read + emails:read
nextmail addresses list [flags]GET /addressesemails:send
nextmail languages list [flags]GET /languagesnone
nextmail emails send --from <value> --to <a,b> [flags]POST /emailsemails:send
nextmail emails send-batch <emails> [flags]POST /emails/batchemails:send
nextmail emails translate --to <value> [flags]POST /emails/translateemails:send
nextmail emails check [flags]POST /emails/checkemails:send
nextmail emails list [flags]GET /emailsemails:read
nextmail emails get <id> [flags]GET /emails/{id}emails:read
nextmail emails list-events <id> [flags]GET /emails/{id}/eventsemails:read
nextmail emails get-tracking <id> [flags]GET /emails/{id}/trackingemails:read
nextmail emails cancel <id> [flags]POST /emails/{id}/cancelemails:send
nextmail emails reschedule <id> <scheduled-at> [flags]PATCH /emails/{id}emails:send
nextmail emails update <id> [flags]PATCH /emails/{id}emails:send
nextmail emails compose --prompt <value> [flags]POST /emails/composeemails:send
nextmail emails rewrite --text <value> --action <value> [flags]POST /emails/rewriteemails:send
nextmail emails suggest-subject --message <value> [flags]POST /emails/subjectemails:send
nextmail templates list [flags]GET /templatestemplates:read
nextmail templates get <id-or-slug> [flags]GET /templates/{id}templates:read
nextmail templates create --name <value> [flags]POST /templatestemplates:write
nextmail templates update <id-or-slug> [flags]PATCH /templates/{id}templates:write
nextmail templates duplicate <id-or-slug> [flags]POST /templates/{id}/duplicatetemplates:write
nextmail templates replace-content <id-or-slug> [flags]POST /templates/{id}/contenttemplates:write
nextmail templates delete <id-or-slug> [flags]DELETE /templates/{id}templates:write
nextmail templates list-versions <id-or-slug> [flags]GET /templates/{id}/versionstemplates:read
nextmail templates get-version <id-or-slug> <version> [flags]GET /templates/{id}/versions/{version}templates:read
nextmail templates publish <id-or-slug> [flags]POST /templates/{id}/versionstemplates:write
nextmail templates restore-version <id-or-slug> <version> [flags]POST /templates/{id}/versions/{version}/restoretemplates:write
nextmail templates delete-version <id-or-slug> <version> [flags]DELETE /templates/{id}/versions/{version}templates:write
nextmail templates list-starters [flags]GET /templates/starterstemplates:read
nextmail templates get-starter <slug> [flags]GET /templates/starters/{slug}templates:read
nextmail templates list-fonts [flags]GET /templates/fontstemplates:read
nextmail templates render [flags]POST /templates/rendertemplates:read
nextmail templates preview <id-or-slug> [flags]POST /templates/{id}/previewtemplates:read
nextmail templates get-analytics <id-or-slug> [flags]GET /templates/{id}/analyticstemplates:read
nextmail templates list-sends <id-or-slug> [flags]GET /templates/{id}/sendstemplates:read
nextmail templates send <id-or-slug> --from <value> --to <a,b> [flags]POST /templates/{id}/sendtemplates:write + emails:send
nextmail templates list-images [flags]GET /templates/imagestemplates:read
nextmail templates upload-image <data> [flags]POST /templates/imagestemplates:write
nextmail templates design --name <value> --brief <value> [flags]POST /templates/designtemplates:write
nextmail templates redesign <id-or-slug> --instructions <value> [flags]POST /templates/{id}/redesigntemplates:write
nextmail tracking list [flags]GET /trackingemails:read
nextmail tracking get-stats [flags]GET /tracking/statsemails:read
nextmail tracking get <id> [flags]GET /tracking/{id}emails:read
nextmail tracking list-opens <id> [flags]GET /tracking/{id}/opensemails:read
nextmail tracking list-clicks <id> [flags]GET /tracking/{id}/clicksemails:read
nextmail threads list [flags]GET /threadsthreads:read
nextmail threads get <id> [flags]GET /threads/{id}threads:read
nextmail threads update <id> [flags]PATCH /threads/{id}threads:write
nextmail threads trash <id> [flags]POST /threads/{id}/trashthreads:write
nextmail threads snooze <id> <wake-at> [flags]POST /threads/{id}/snoozethreads:write
nextmail threads unsnooze <id> [flags]POST /threads/{id}/unsnoozethreads:write
nextmail threads mute <id> [flags]POST /threads/{id}/mutethreads:write
nextmail threads unmute <id> [flags]POST /threads/{id}/unmutethreads:write
nextmail threads list-messages <id> [flags]GET /threads/{id}/messagesthreads:read
nextmail threads get-message <id> <message-id> [flags]GET /threads/{id}/messages/{messageId}threads:read
nextmail threads list-attachments <id> <message-id> [flags]GET /threads/{id}/messages/{messageId}/attachmentsthreads:read
nextmail threads list-notes <id> [flags]GET /threads/{id}/notesthreads:read
nextmail threads create-note <id> --content <value> [flags]POST /threads/{id}/notesthreads:write
nextmail threads update-note <id> <note-id> [flags]PATCH /threads/{id}/notes/{noteId}threads:write
nextmail threads delete-note <id> <note-id> [flags]DELETE /threads/{id}/notes/{noteId}threads:write
nextmail threads reorder-notes <id> <ids...> [flags]POST /threads/{id}/notes/reorderthreads:write
nextmail threads counts [flags]GET /threads/countsthreads:read
nextmail threads summary <id> [flags]GET /threads/{id}/summarythreads:read
nextmail threads reply-suggestions <id> [flags]GET /threads/{id}/reply-suggestionsthreads:read
nextmail threads restore <id> [flags]POST /threads/{id}/restorethreads:write
nextmail threads delete <id> [flags]DELETE /threads/{id}threads:write
nextmail threads unsubscribe <id> [flags]POST /threads/{id}/unsubscribethreads:write
nextmail threads get-event <id> [flags]GET /threads/{id}/eventcalendar:read
nextmail threads list-sender-categories [flags]GET /sender-categoriesthreads:read
nextmail threads set-sender-category <email> <category> [flags]PUT /sender-categories/{email}threads:write
nextmail threads clear-sender-category <email> [flags]DELETE /sender-categories/{email}threads:write
nextmail threads get-team <id> [flags]GET /threads/{id}/teamthreads:read
nextmail threads assign <id> <assignee-id> [flags]PUT /threads/{id}/assigneethreads:write
nextmail threads unassign <id> [flags]DELETE /threads/{id}/assigneethreads:write
nextmail threads mark-done <id> [flags]POST /threads/{id}/donethreads:write
nextmail threads reopen <id> [flags]POST /threads/{id}/reopenthreads:write
nextmail threads list-comments <id> [flags]GET /threads/{id}/commentsthreads:read
nextmail threads create-comment <id> --body <value> [flags]POST /threads/{id}/commentsthreads:write
nextmail threads update-comment <id> <comment-id> --body <value> [flags]PATCH /threads/{id}/comments/{commentId}threads:write
nextmail threads delete-comment <id> <comment-id> [flags]DELETE /threads/{id}/comments/{commentId}threads:write
nextmail follow-ups list [flags]GET /follow-upsthreads:read
nextmail follow-ups set --thread-id <value> --remind-at <when> [flags]POST /follow-upsthreads:write
nextmail follow-ups cancel <id> [flags]DELETE /follow-ups/{id}threads:write
nextmail drafts list [flags]GET /draftsdrafts:read
nextmail drafts get <id> [flags]GET /drafts/{id}drafts:read
nextmail drafts create [flags]POST /draftsdrafts:write
nextmail drafts update <id> [flags]PATCH /drafts/{id}drafts:write
nextmail drafts delete <id> [flags]DELETE /drafts/{id}drafts:write
nextmail labels list [flags]GET /labelslabels:read
nextmail labels list-colors [flags]GET /labels/colorslabels:read
nextmail labels get <id> [flags]GET /labels/{id}labels:read
nextmail labels create --name <value> [flags]POST /labelslabels:write
nextmail labels update <id> [flags]PATCH /labels/{id}labels:write
nextmail labels test <id> [flags]POST /labels/{id}/testlabels:write + threads:read
nextmail labels delete <id> [flags]DELETE /labels/{id}labels:write
nextmail contacts list [flags]GET /contactscontacts:read
nextmail contacts get <email> [flags]GET /contacts/{email}contacts:read
nextmail contacts create --email <value> [flags]POST /contactscontacts:write
nextmail contacts update <email> [flags]PATCH /contacts/{email}contacts:write
nextmail contacts delete <email> [flags]DELETE /contacts/{email}contacts:write
nextmail contacts set-audiences <email> --audience-ids <a,b> [flags]PUT /contacts/{email}/audiencesaudiences:write
nextmail contacts list-people [flags]GET /contacts/peoplecontacts:read
nextmail contacts save <email> [flags]PUT /contacts/{email}contacts:write
nextmail contacts delete-many <emails...> [flags]POST /contacts/batch-deletecontacts:write
nextmail contacts set-photo <email> <data> [flags]PUT /contacts/{email}/photocontacts:write
nextmail contacts remove-photo <email> [flags]DELETE /contacts/{email}/photocontacts:write
nextmail contacts block <email> [flags]POST /contacts/{email}/blocksettings:write
nextmail contacts unblock <email> [flags]DELETE /contacts/{email}/blocksettings:write
nextmail contacts list-threads <email> [flags]GET /contacts/{email}/threadsthreads:read
nextmail contacts activity <email> [flags]GET /contacts/{email}/activitythreads:read
nextmail contacts list-events <email> [flags]GET /contacts/{email}/eventscontacts:read
nextmail contacts list-cards [flags]GET /contacts/cardscontacts:read
nextmail contacts get-card <id> [flags]GET /contacts/cards/{id}contacts:read
nextmail contacts create-card [flags]POST /contacts/cardscontacts:write
nextmail contacts update-card <id> [flags]PATCH /contacts/cards/{id}contacts:write
nextmail contacts delete-card <id> [flags]DELETE /contacts/cards/{id}contacts:write
nextmail contacts find-duplicate-cards [flags]GET /contacts/cards/duplicatescontacts:read
nextmail contacts merge-cards <id> --card-ids <a,b> [flags]POST /contacts/cards/{id}/mergecontacts:write
nextmail contacts list-birthdays --from <when> --to <when> [flags]GET /contacts/birthdayscontacts:read
nextmail contacts import-vcf <data> [flags]POST /contacts/importscontacts:write
nextmail contacts list-imports [flags]GET /contacts/importscontacts:read
nextmail contacts get-import <id> [flags]GET /contacts/imports/{id}contacts:read
nextmail contacts undo-import <id> [flags]POST /contacts/imports/{id}/undocontacts:write
nextmail audiences list [flags]GET /audiencesaudiences:read
nextmail audiences growth [flags]GET /audiences/growthaudiences:read
nextmail audiences get <id> [flags]GET /audiences/{id}audiences:read
nextmail audiences create --name <value> [flags]POST /audiencesaudiences:write
nextmail audiences update <id> [flags]PATCH /audiences/{id}audiences:write
nextmail audiences delete <id> [flags]DELETE /audiences/{id}audiences:write
nextmail audiences empty <id> [flags]POST /audiences/{id}/emptyaudiences:write
nextmail audiences list-contacts <id> [flags]GET /audiences/{id}/contactsaudiences:read
nextmail audiences add-contact <id> --email <value> [flags]POST /audiences/{id}/contactsaudiences:write
nextmail audiences remove-contact <id> <email> [flags]DELETE /audiences/{id}/contacts/{email}audiences:write
nextmail audiences add-contacts <id> --emails <a,b> [flags]POST /audiences/{id}/contacts/batchaudiences:write
nextmail audiences remove-contacts <id> --emails <a,b> [flags]POST /audiences/{id}/contacts/batch-removeaudiences:write
nextmail audiences import-contacts <id> --contacts <json|@file|-> [flags]POST /audiences/{id}/importaudiences:write + contacts:write
nextmail segments list [flags]GET /segmentsaudiences:read
nextmail segments get <id> [flags]GET /segments/{id}audiences:read
nextmail segments create --name <value> --definition <json|@file|-> [flags]POST /segmentsaudiences:write
nextmail segments update <id> [flags]PATCH /segments/{id}audiences:write
nextmail segments delete <id> [flags]DELETE /segments/{id}audiences:write
nextmail segments preview --definition <json|@file|-> [flags]POST /segments/previewaudiences:read
nextmail forms list [flags]GET /formsforms:read
nextmail forms create --name <value> [flags]POST /formsforms:write
nextmail forms design --brief <value> [flags]POST /forms/designforms:write
nextmail forms redesign <id> --instructions <value> [flags]POST /forms/{id}/redesignforms:write
nextmail forms list-starters [flags]GET /forms/startersforms:read
nextmail forms get-starter <slug> [flags]GET /forms/starters/{slug}forms:read
nextmail forms get <id> [flags]GET /forms/{id}forms:read
nextmail forms update <id> [flags]PATCH /forms/{id}forms:write
nextmail forms delete <id> [flags]DELETE /forms/{id}forms:write
nextmail forms publish <id> [flags]POST /forms/{id}/publishforms:write
nextmail forms pause <id> [flags]POST /forms/{id}/pauseforms:write
nextmail forms resume <id> [flags]POST /forms/{id}/resumeforms:write
nextmail forms duplicate <id> [flags]POST /forms/{id}/duplicateforms:write
nextmail forms analytics <id> [flags]GET /forms/{id}/analyticsforms:read
nextmail forms list-submissions <id> [flags]GET /forms/{id}/submissionsforms:read
nextmail forms get-submission <id> <submission-id> [flags]GET /forms/{id}/submissions/{submissionId}forms:read
nextmail forms delete-submission <id> <submission-id> [flags]DELETE /forms/{id}/submissions/{submissionId}forms:write
nextmail forms delete-submissions <id> <submission-ids...> [flags]POST /forms/{id}/submissions/batch-removeforms:write
nextmail forms approve-submission <id> <submission-id> [flags]POST /forms/{id}/submissions/{submissionId}/approveforms:write + contacts:write
nextmail forms resend-confirmation <id> <submission-id> [flags]POST /forms/{id}/submissions/{submissionId}/resendforms:write + emails:send
nextmail forms subscribe <form-id> --email <value> [flags]POST /subscribe/{formId}none
nextmail automations list [flags]GET /automationsautomations:read
nextmail automations create --name <value> [flags]POST /automationsautomations:write
nextmail automations list-starters [flags]GET /automations/startersautomations:read
nextmail automations get <id> [flags]GET /automations/{id}automations:read
nextmail automations update <id> [flags]PATCH /automations/{id}automations:write
nextmail automations delete <id> [flags]DELETE /automations/{id}automations:write
nextmail automations publish <id> [flags]POST /automations/{id}/publishautomations:write + emails:send
nextmail automations pause <id> [flags]POST /automations/{id}/pauseautomations:write
nextmail automations resume <id> [flags]POST /automations/{id}/resumeautomations:write + emails:send
nextmail automations archive <id> [flags]POST /automations/{id}/archiveautomations:write
nextmail automations duplicate <id> [flags]POST /automations/{id}/duplicateautomations:write
nextmail automations send-test <id> --step-key <value> [flags]POST /automations/{id}/testautomations:write + emails:send
nextmail automations list-versions <id> [flags]GET /automations/{id}/versionsautomations:read
nextmail automations restore-version <id> <version> [flags]POST /automations/{id}/versions/{version}/restoreautomations:write
nextmail automations stats <id> [flags]GET /automations/{id}/statsautomations:read
nextmail automations analytics [flags]GET /automations/analyticsautomations:read
nextmail automations list-runs <id> [flags]GET /automations/{id}/runsautomations:read
nextmail automations list-enrollments <id> [flags]GET /automations/{id}/enrollmentsautomations:read
nextmail automations get-enrollment <id> <enrollment-id> [flags]GET /automations/{id}/enrollments/{enrollmentId}automations:read
nextmail automations enroll <id> [flags]POST /automations/{id}/enrollmentsautomations:write
nextmail automations exit-enrollment <id> <enrollment-id> [flags]POST /automations/{id}/enrollments/{enrollmentId}/exitautomations:write
nextmail events send --name <value> [flags]POST /eventscontacts:write
nextmail events send-batch <events> [flags]POST /events/batchcontacts:write
nextmail events list-names [flags]GET /events/namesautomations:read
nextmail broadcasts preview --audience-ids <a,b> [flags]POST /broadcasts/previewaudiences:read
nextmail broadcasts send --audience-ids <a,b> --from <value> [flags]POST /broadcastsemails:send + audiences:read
nextmail broadcasts list [flags]GET /broadcastsemails:read
nextmail broadcasts get <id> [flags]GET /broadcasts/{id}emails:read
nextmail broadcasts stats <id> [flags]GET /broadcasts/{id}/statsemails:read
nextmail broadcasts analytics [flags]GET /broadcasts/analyticsemails:read
nextmail broadcasts list-recipients <id> [flags]GET /broadcasts/{id}/recipientsemails:read
nextmail broadcasts get-recipient <id> <email-id> [flags]GET /broadcasts/{id}/recipients/{emailId}emails:read
nextmail broadcasts cancel <id> [flags]POST /broadcasts/{id}/cancelemails:send
nextmail broadcasts create-draft --from <value> [flags]POST /broadcasts/draftsemails:send + audiences:read
nextmail broadcasts update <id> [flags]PATCH /broadcasts/{id}emails:send + audiences:read
nextmail broadcasts send-draft <id> [flags]POST /broadcasts/{id}/sendemails:send + audiences:read
nextmail broadcasts duplicate <id> [flags]POST /broadcasts/{id}/duplicateemails:send + audiences:read
nextmail broadcasts resend <id> [flags]POST /broadcasts/{id}/resendemails:send + audiences:read
nextmail broadcasts send-test --from <value> [flags]POST /broadcasts/testemails:send
nextmail domains list [flags]GET /domainsdomains:read
nextmail domains get <id> [flags]GET /domains/{id}domains:read
nextmail domains create --domain <value> [flags]POST /domainsdomains:write
nextmail domains verify <id> [flags]POST /domains/{id}/verifydomains:write
nextmail domains update <id> [flags]PATCH /domains/{id}domains:write
nextmail domains delete <id> [flags]DELETE /domains/{id}domains:write
nextmail domains get-logo <id> [flags]GET /domains/{id}/logodomains:read
nextmail domains set-logo <id> --svg <value> [flags]PUT /domains/{id}/logodomains:write
nextmail domains remove-logo <id> [flags]DELETE /domains/{id}/logodomains:write
nextmail domains set-logo-certificate <id> --certificate <value> [flags]PUT /domains/{id}/logo/certificatedomains:write
nextmail domains remove-logo-certificate <id> [flags]DELETE /domains/{id}/logo/certificatedomains:write
nextmail domains list-addresses <id> [flags]GET /domains/{id}/addressesdomains:read
nextmail domains create-address <id> --local-part <value> [flags]POST /domains/{id}/addressesdomains:write
nextmail domains get-address <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}domains:read
nextmail domains update-address <id> <address-id> [flags]PATCH /domains/{id}/addresses/{addressId}domains:write
nextmail domains set-address-photo <id> <address-id> <data> [flags]PUT /domains/{id}/addresses/{addressId}/photodomains:write
nextmail domains remove-address-photo <id> <address-id> [flags]DELETE /domains/{id}/addresses/{addressId}/photodomains:write
nextmail domains delete-address <id> <address-id> [flags]DELETE /domains/{id}/addresses/{addressId}domains:write
nextmail domains list-address-forwards <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}/forwardsdomains:read
nextmail domains add-address-forwards <id> <address-id> --emails <a,b> [flags]POST /domains/{id}/addresses/{addressId}/forwardsdomains:write
nextmail domains update-address-forward <id> <address-id> <forward-id> --enabled [flags]PATCH /domains/{id}/addresses/{addressId}/forwards/{forwardId}domains:write
nextmail domains delete-address-forward <id> <address-id> <forward-id> [flags]DELETE /domains/{id}/addresses/{addressId}/forwards/{forwardId}domains:write
nextmail domains resend-address-forward-consent <id> <address-id> <forward-id> [flags]POST /domains/{id}/addresses/{addressId}/forwards/{forwardId}/resenddomains:write
nextmail domains list-address-members <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}/membersmembers:read
nextmail domains get-address-login <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}/loginmembers:write
nextmail domains set-address-login <id> <address-id> --password <value> [flags]PUT /domains/{id}/addresses/{addressId}/loginmembers:write
nextmail domains delete-address-login <id> <address-id> [flags]DELETE /domains/{id}/addresses/{addressId}/loginmembers:write
nextmail domains get-mail-app-settings <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}/mail-appsdomains:read
nextmail domains update-mail-app-settings <id> <address-id> [flags]PATCH /domains/{id}/addresses/{addressId}/mail-appsdomains:write
nextmail domains list-app-passwords <id> <address-id> [flags]GET /domains/{id}/addresses/{addressId}/app-passwordsmembers:write
nextmail domains create-app-password <id> <address-id> --name <value> [flags]POST /domains/{id}/addresses/{addressId}/app-passwordsmembers:write
nextmail domains update-app-password <id> <address-id> <password-id> --name <value> [flags]PATCH /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}members:write
nextmail domains delete-app-password <id> <address-id> <password-id> [flags]DELETE /domains/{id}/addresses/{addressId}/app-passwords/{passwordId}members:write
nextmail domains send-mail-app-setup <id> <address-id> --recipient <value> [flags]POST /domains/{id}/addresses/{addressId}/mail-app-setupmembers:write
nextmail domains get-dns <id> [flags]GET /domains/{id}/dnsdomains:read
nextmail domains set-dns-zone <id> --connection-id <value> --zone-id <value> [flags]PUT /domains/{id}/dnsdomains:write
nextmail domains sync-dns <id> [flags]POST /domains/{id}/dns/syncdomains:write
nextmail app-host get [flags]GET /app-hostdomains:read
nextmail app-host set --host <value> [flags]PUT /app-hostdomains:write
nextmail app-host verify [flags]POST /app-host/verifydomains:write
nextmail app-host delete [flags]DELETE /app-hostdomains:write
nextmail branding get [flags]GET /brandingsettings:read
nextmail branding update [flags]PATCH /brandingsettings:write
nextmail branding upload-image <variant> <data> [flags]PUT /branding/images/{variant}settings:write
nextmail branding remove-image <variant> [flags]DELETE /branding/images/{variant}settings:write
nextmail rules list [flags]GET /rulesrules:read
nextmail rules get <id> [flags]GET /rules/{id}rules:read
nextmail rules create --name <value> --conditions <json|@file|-> --actions <json|@file|-> [flags]POST /rulesrules:write
nextmail rules update <id> [flags]PATCH /rules/{id}rules:write
nextmail rules delete <id> [flags]DELETE /rules/{id}rules:write
nextmail rules reorder <rule-ids...> [flags]POST /rules/reorderrules:write
nextmail rules test <id> [flags]POST /rules/{id}/testrules:read
nextmail rules list-runs [flags]GET /rules/runsrules:read
nextmail webhooks list [flags]GET /webhookswebhooks:read
nextmail webhooks get <id> [flags]GET /webhooks/{id}webhooks:read
nextmail webhooks create --url <value> [flags]POST /webhookswebhooks:write
nextmail webhooks update <id> [flags]PATCH /webhooks/{id}webhooks:write
nextmail webhooks delete <id> [flags]DELETE /webhooks/{id}webhooks:write
nextmail webhooks rotate-secret <id> [flags]POST /webhooks/{id}/rotate-secretwebhooks:write
nextmail webhooks test <id> [flags]POST /webhooks/{id}/testwebhooks:write
nextmail webhooks list-deliveries <id> [flags]GET /webhooks/{id}/deliverieswebhooks:read
nextmail webhooks get-delivery <id> <delivery-id> [flags]GET /webhooks/{id}/deliveries/{deliveryId}webhooks:read
nextmail webhooks replay-delivery <id> <delivery-id> [flags]POST /webhooks/{id}/deliveries/{deliveryId}/replaywebhooks:write
nextmail webhooks list-workspace-deliveries [flags]GET /webhooks/deliverieswebhooks:read
nextmail webhooks list-activity <id> [flags]GET /webhooks/{id}/activitywebhooks:read
nextmail webhooks list-workspace-activity [flags]GET /webhooks/activitywebhooks:read
nextmail webhooks list-events [flags]GET /webhooks/eventswebhooks:read
nextmail webhooks stats [flags]GET /webhooks/statswebhooks:read
nextmail imports list [flags]GET /importsthreads:read
nextmail imports get <id> [flags]GET /imports/{id}threads:read
nextmail imports create --address-id <value> --files <json|@file|-> [flags]POST /importsthreads:write
nextmail imports upload-state <id> [flags]GET /imports/{id}/uploadthreads:write
nextmail imports upload-chunk <id> <file> <chunk> <data> [flags]PUT /imports/{id}/files/{file}/chunks/{chunk}threads:write
nextmail imports start <id> [flags]POST /imports/{id}/startthreads:write
nextmail imports cancel <id> [flags]POST /imports/{id}/cancelthreads:write
nextmail imports list-failures <id> [flags]GET /imports/{id}/failuresthreads:read
nextmail imports delete-upload <id> [flags]DELETE /imports/{id}/uploadthreads:write
nextmail imports import-files --address-id <value> --files <path> [flags]POST /importsthreads:write
nextmail imports discover-mailbox <email> [flags]GET /imports/mailbox-settingsthreads:write
nextmail imports check-mailbox --email <value> --password <value> [flags]POST /imports/mailbox/checkthreads:write
nextmail imports connect-mailbox --address-id <value> --email <value> --password <value> [flags]POST /imports/mailboxthreads:write
nextmail imports resume <id> [flags]POST /imports/{id}/resumethreads:write
nextmail provider-imports inspect <api-key> [flags]POST /provider-imports/inspectsettings:write
nextmail provider-imports create --provider-key <value> --resources <a,b> [flags]POST /provider-importssettings:write
nextmail provider-imports list [flags]GET /provider-importssettings:read
nextmail provider-imports get <id> [flags]GET /provider-imports/{id}settings:read
nextmail provider-imports cancel <id> [flags]POST /provider-imports/{id}/cancelsettings:write
nextmail calendar list-events --from <when> --to <when> [flags]GET /calendar/eventscalendar:read
nextmail calendar get-event <id> [flags]GET /calendar/events/{id}calendar:read
nextmail calendar get-event-ics <id> [flags]GET /calendar/events/{id}/icscalendar:read
nextmail calendar create-event --summary <value> --start <when> --end <when> [flags]POST /calendar/eventscalendar:write
nextmail calendar update-event <id> [flags]PATCH /calendar/events/{id}calendar:write
nextmail calendar delete-event <id> [flags]DELETE /calendar/events/{id}calendar:write
nextmail calendar cancel-event <id> [flags]POST /calendar/events/{id}/cancelcalendar:write
nextmail calendar respond-to-event <id> --response <value> [flags]POST /calendar/events/{id}/respondcalendar:write + emails:send
nextmail calendar decline-proposal <id> --attendee <value> [flags]POST /calendar/events/{id}/decline-proposalcalendar:write + emails:send
nextmail calendar hide-event <id> [flags]POST /calendar/events/{id}/hidecalendar:write
nextmail calendar unhide-event <id> [flags]POST /calendar/events/{id}/unhidecalendar:write
nextmail calendar free-busy --emails <a,b> --from <when> --to <when> [flags]GET /calendar/free-busycalendar:read
nextmail calendar list-feeds [flags]GET /calendar/feedscalendar:read
nextmail calendar create-feed --name <value> --mode <value> [flags]POST /calendar/feedscalendar:write
nextmail calendar reset-feed <id> [flags]POST /calendar/feeds/{id}/resetcalendar:write
nextmail calendar delete-feed <id> [flags]DELETE /calendar/feeds/{id}calendar:write
nextmail calendar list-subscriptions [flags]GET /calendar/subscriptionscalendar:read
nextmail calendar create-subscription --url <value> [flags]POST /calendar/subscriptionscalendar:write
nextmail calendar update-subscription <id> [flags]PATCH /calendar/subscriptions/{id}calendar:write
nextmail calendar refresh-subscription <id> [flags]POST /calendar/subscriptions/{id}/refreshcalendar:write
nextmail calendar delete-subscription <id> [flags]DELETE /calendar/subscriptions/{id}calendar:write
nextmail calendar import-ics <data> [flags]POST /calendar/importscalendar:write
nextmail calendar list-imports [flags]GET /calendar/importscalendar:read
nextmail calendar get-import <id> [flags]GET /calendar/imports/{id}calendar:read
nextmail calendar undo-import <id> [flags]POST /calendar/imports/{id}/undocalendar:write
nextmail settings get [flags]GET /settingssettings:read
nextmail settings update [flags]PATCH /settingssettings:write
nextmail out-of-office list [flags]GET /out-of-officesettings:read
nextmail out-of-office set <address> --message <value> [flags]PUT /out-of-officesettings:write
nextmail out-of-office clear <address> [flags]DELETE /out-of-officesettings:write
nextmail roles list [flags]GET /rolesroles:read
nextmail roles get <id> [flags]GET /roles/{id}roles:read
nextmail roles create --name <value> --permissions <a,b> [flags]POST /rolesroles:write
nextmail roles update <id> [flags]PATCH /roles/{id}roles:write
nextmail roles delete <id> [flags]DELETE /roles/{id}roles:write
nextmail roles list-permissions [flags]GET /roles/permissionsroles:read
nextmail members list [flags]GET /membersmembers:read
nextmail members get <user-id> [flags]GET /members/{userId}members:read
nextmail members add --email <value> --role-id <value> [flags]POST /membersmembers:write
nextmail members update <user-id> --role-id <value> [flags]PATCH /members/{userId}members:write
nextmail members remove <user-id> [flags]DELETE /members/{userId}members:write
nextmail members grant-address <user-id> --address-id <value> [flags]POST /members/{userId}/addressesmembers:write
nextmail members revoke-address <user-id> <address-id> [flags]DELETE /members/{userId}/addresses/{addressId}members:write
nextmail members grant-domain <user-id> --domain-id <value> [flags]POST /members/{userId}/domainsmembers:write
nextmail members revoke-domain <user-id> <domain-id> [flags]DELETE /members/{userId}/domains/{domainId}members:write
nextmail members list-invitations [flags]GET /members/invitationsmembers:read
nextmail members revoke-invitation <invitation-id> [flags]DELETE /members/invitations/{invitationId}members:write
nextmail members resend-invitation <invitation-id> [flags]POST /members/invitations/{invitationId}/resendmembers:write
nextmail suppressions list [flags]GET /suppressionssettings:read
nextmail suppressions get <id> [flags]GET /suppressions/{id}settings:read
nextmail suppressions add --email <value> [flags]POST /suppressionssettings:write
nextmail suppressions remove <id> [flags]DELETE /suppressions/{id}settings:write
nextmail suppressions list-unsubscribes [flags]GET /suppressions/unsubscribessettings:read
nextmail suppressions add-unsubscribe --email <value> [flags]POST /suppressions/unsubscribessettings:write
nextmail suppressions remove-unsubscribe <email> [flags]DELETE /suppressions/unsubscribes/{email}settings:write
nextmail sending list-streams [flags]GET /sending/streamsemails:read
nextmail sending resume-stream <stream> [flags]POST /sending/streams/{stream}/resumedomains:write
nextmail sending list-dedicated-ips [flags]GET /sending/dedicated-ipsdomains:read
nextmail sending get-dedicated-ip <ip> [flags]GET /sending/dedicated-ips/{ip}domains:read
nextmail files list [flags]GET /filesfiles:read
nextmail files get <id> [flags]GET /files/{id}files:read
nextmail files stats [flags]GET /files/statsfiles:read
nextmail files download <id> [flags]GET /files/{id}/contentfiles:read
nextmail files list-links <id> [flags]GET /files/{id}/linksfiles:read
nextmail files create-link <id> [flags]POST /files/{id}/linksfiles:write
nextmail files revoke-link <id> <link-id> [flags]DELETE /files/{id}/links/{linkId}files:write
nextmail files revoke-all-links <id> [flags]DELETE /files/{id}/linksfiles:write
nextmail files upload <data> [flags]POST /filesfiles:write
nextmail files delete <id> [flags]DELETE /files/{id}files:write
nextmail files delete-many <ids...> [flags]POST /files/batch-deletefiles:write
nextmail knowledge list [flags]GET /knowledgeknowledge:read
nextmail knowledge levels [flags]GET /knowledge/levelsknowledge:read
nextmail knowledge usage [flags]GET /knowledge/usageknowledge:read
nextmail knowledge search --query <value> [flags]POST /knowledge/searchknowledge:read
nextmail knowledge create-note --title <value> --body <value> [flags]POST /knowledge/notesknowledge:write
nextmail knowledge add-link --url <value> [flags]POST /knowledge/linksknowledge:write
nextmail knowledge upload-file <data> [flags]POST /knowledge/filesknowledge:write
nextmail knowledge get <id> [flags]GET /knowledge/{id}knowledge:read
nextmail knowledge update <id> [flags]PATCH /knowledge/{id}knowledge:write
nextmail knowledge delete <id> [flags]DELETE /knowledge/{id}knowledge:write
nextmail knowledge refresh <id> [flags]POST /knowledge/{id}/refreshknowledge:write
nextmail knowledge stats [flags]GET /knowledge/statsknowledge:read
nextmail knowledge list-suggestions [flags]GET /knowledge/suggestionsknowledge:read
nextmail knowledge accept-suggestion <id> [flags]POST /knowledge/suggestions/{id}/acceptknowledge:write
nextmail knowledge dismiss-suggestion <id> [flags]POST /knowledge/suggestions/{id}/dismissknowledge:write
nextmail knowledge list-flags [flags]GET /knowledge/flagsknowledge:read
nextmail knowledge dismiss-flag <id> [flags]POST /knowledge/flags/{id}/dismissknowledge:write
nextmail knowledge list-connectors [flags]GET /knowledge/connectorsknowledge:read
nextmail knowledge add-connector --kind <value> --url <value> [flags]POST /knowledge/connectorsknowledge:write
nextmail knowledge get-connector <id> [flags]GET /knowledge/connectors/{id}knowledge:read
nextmail knowledge update-connector <id> [flags]PATCH /knowledge/connectors/{id}knowledge:write
nextmail knowledge delete-connector <id> [flags]DELETE /knowledge/connectors/{id}knowledge:write
nextmail knowledge sync-connector <id> [flags]POST /knowledge/connectors/{id}/syncknowledge:write
nextmail knowledge draft-from-thread --thread-id <value> [flags]POST /knowledge/draftsknowledge:write + threads:read
nextmail temp-mail list-domains [flags]GET /temp-mail/domainsnone
nextmail temp-mail create [flags]POST /temp-mail/inboxesnone
nextmail temp-mail get <inbox-id> [flags]GET /temp-mail/inboxes/{id}inbox token
nextmail temp-mail extend <inbox-id> [flags]POST /temp-mail/inboxes/{id}/extendinbox token
nextmail temp-mail delete <inbox-id> [flags]DELETE /temp-mail/inboxes/{id}inbox token
nextmail temp-mail list-messages <inbox-id> [flags]GET /temp-mail/inboxes/{id}/messagesinbox token
nextmail temp-mail get-message <inbox-id> <message-id> [flags]GET /temp-mail/inboxes/{id}/messages/{messageId}inbox token
nextmail temp-mail delete-message <inbox-id> <message-id> [flags]DELETE /temp-mail/inboxes/{id}/messages/{messageId}inbox token
nextmail temp-mail list-attachments <inbox-id> <message-id> [flags]GET /temp-mail/inboxes/{id}/messages/{messageId}/attachmentsinbox token
nextmail tools check-dmarc <domain> [flags]GET /tools/dmarcnone
nextmail tools check-bimi <domain> [flags]GET /tools/biminone
nextmail tools check-deliverability <domain> [flags]GET /tools/deliverabilitynone
nextmail tools read-verification-code [flags]POST /tools/verification-codenone
nextmail tools estimate-cost [flags]GET /tools/costnone
nextmail tools check-address <email> [flags]GET /tools/addressnone
nextmail tools check-addresses --emails <a,b> [flags]POST /tools/addressesnone
nextmail support send --topic <value> --message <value> [flags]POST /supportnone
nextmail encryption list-keys [flags]GET /encryption/keysemails:read
nextmail encryption publish-key --address <value> --public-key <value> --fingerprint <value> [flags]POST /encryption/keysemails:read
nextmail encryption lookup-keys --addresses <a,b> [flags]GET /encryption/keys/lookupemails:send
nextmail senders get <email> [flags]GET /senders/{email}threads:read
nextmail senders research <email> [flags]POST /senders/{email}/researchthreads:read
nextmail chats list [flags]GET /chatsthreads:read
nextmail chats get <id> [flags]GET /chats/{id}threads:read
nextmail chats rename <id> <title> [flags]PATCH /chats/{id}threads:write
nextmail chats delete <id> [flags]DELETE /chats/{id}threads:write
nextmail analytics mailbox [flags]GET /analytics/mailboxthreads:read
nextmail analytics sending [flags]GET /analytics/sendingemails:read
nextmail subscriptions list [flags]GET /subscriptionsthreads:read
nextmail subscriptions list-domains [flags]GET /subscriptions/domainsthreads:read
nextmail subscriptions keep <ids...> [flags]POST /subscriptions/batch-keepthreads:write
nextmail subscriptions unsubscribe <id> [flags]POST /subscriptions/{id}/unsubscribethreads:write
nextmail subscriptions unsubscribe-many <ids...> [flags]POST /subscriptions/batch-unsubscribethreads:write
nextmail subscriptions unsubscribe-domain <domain> [flags]POST /subscriptions/domains/{domain}/unsubscribethreads:write
nextmail subscriptions move <id> --destination <value> [flags]POST /subscriptions/{id}/movethreads:write
nextmail subscriptions move-many <ids...> --destination <value> [flags]POST /subscriptions/batch-movethreads:write
nextmail exports preview [flags]GET /exports/previewthreads:read + emails:read + drafts:read + files:read + labels:read + contacts:read + audiences:read + calendar:read + templates:read + rules:read
nextmail exports list [flags]GET /exportsthreads:read + emails:read + drafts:read + files:read + labels:read + contacts:read + audiences:read + calendar:read + templates:read + rules:read
nextmail exports get <id> [flags]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]POST /exportsthreads:read + emails:read + drafts:read + files:read + labels:read + contacts:read + audiences:read + calendar:read + templates:read + rules:read
nextmail exports download <id> [flags]GET /exports/{id}/contentthreads:read + emails:read + drafts:read + files:read + labels:read + contacts:read + audiences:read + calendar:read + templates:read + rules:read
nextmail dns-connections list [flags]GET /dns-connectionsdomains:read
nextmail dns-connections get <id> [flags]GET /dns-connections/{id}domains:read
nextmail dns-connections delete <id> [flags]DELETE /dns-connections/{id}domains:write
nextmail billing get [flags]GET /billingbilling:read
nextmail billing list-plans [flags]GET /billing/plansbilling:read
nextmail billing get-usage [flags]GET /billing/usagebilling:read
nextmail billing list-alerts [flags]GET /billing/alertsbilling:read
nextmail billing list-countries [flags]GET /billing/countriesbilling:read
nextmail billing get-pay-as-you-go [flags]GET /billing/pay-as-you-gobilling:read
nextmail billing set-pay-as-you-go --enabled [flags]PATCH /billing/pay-as-you-gobilling:write
nextmail billing set-pay-as-you-go-limit --limit-cents <n> [flags]PUT /billing/pay-as-you-go/limitbilling:write
nextmail billing confirm-pay-as-you-go [flags]POST /billing/pay-as-you-go/confirmbilling:write
nextmail billing start-checkout --plan <value> [flags]POST /billing/checkoutbilling:write
nextmail billing open-portal [flags]POST /billing/portalbilling:write
nextmail billing list-invoices [flags]GET /billing/invoicesbilling:read
nextmail billing get-invoice <order-id> [flags]GET /billing/invoices/{orderId}billing:read
nextmail billing save-invoice-details <order-id> --name <value> --line1 <value> --city <value> --country <value> [flags]PUT /billing/invoices/{orderId}/detailsbilling:write
nextmail billing list-add-ons [flags]GET /billing/add-onsbilling:read
nextmail billing start-add-on-checkout --add-on <value> [flags]POST /billing/add-ons/checkoutbilling:write
nextmail billing cancel-add-on <add-on> [flags]DELETE /billing/add-ons/{addOn}billing:write
nextmail workspaces list [flags]GET /workspacesaccount:read
nextmail workspaces create --name <value> [flags]POST /workspacesaccount:write
nextmail workspaces get-active [flags]GET /workspaces/activeaccount:read
nextmail workspaces set-active <workspace-id> [flags]PUT /workspaces/activeaccount:write
nextmail workspaces delete <id> --confirm <value> [flags]DELETE /workspaces/{id}account:write
nextmail account get-notifications [flags]GET /account/notificationsaccount:read
nextmail account set-email-notification <category> --enabled [flags]PUT /account/notifications/email/{category}account:write
nextmail account set-push-muted <workspace-id> --muted [flags]PUT /account/notifications/push/{workspaceId}account:write
nextmail account set-photo <data> [flags]PUT /account/photoaccount:write
nextmail account remove-photo [flags]DELETE /account/photoaccount:write
nextmail account get-username [flags]GET /account/usernameaccount:read
nextmail account check-username <username> [flags]GET /account/username/availabilityaccount:read
nextmail account set-username <username> [flags]PUT /account/usernameaccount:write
nextmail account list-connected-apps [flags]GET /account/connected-appsaccount:read
nextmail account list-connected-app-requests <client-id> [flags]GET /account/connected-apps/{clientId}/requestsaccount:read
nextmail account revoke-connected-app <client-id> [flags]DELETE /account/connected-apps/{clientId}account:write
nextmail account list-sessions [flags]GET /account/sessionsaccount:read
nextmail account revoke-session <session-id> [flags]DELETE /account/sessions/{sessionId}account:write
nextmail account revoke-sessions [flags]DELETE /account/sessionsaccount:write
nextmail account list-security-events [flags]GET /account/security-eventsaccount:read
nextmail account list-passkeys [flags]GET /account/passkeysaccount:read
nextmail account rename-passkey <passkey-id> <name> [flags]PATCH /account/passkeys/{passkeyId}account:write
nextmail account remove-passkey <passkey-id> [flags]DELETE /account/passkeys/{passkeyId}account:write
nextmail account list-invitations [flags]GET /account/invitationsaccount:read
nextmail account accept-invitation <invitation-id> [flags]POST /account/invitations/{invitationId}/acceptaccount:write
nextmail account decline-invitation <invitation-id> [flags]POST /account/invitations/{invitationId}/declineaccount:write
nextmail signatures list [flags]GET /signaturessettings:read
nextmail signatures get <id> [flags]GET /signatures/{id}settings:read
nextmail signatures create --address <value> --name <value> --html <value> [flags]POST /signaturessettings:write
nextmail signatures update <id> [flags]PATCH /signatures/{id}settings:write
nextmail signatures delete <id> [flags]DELETE /signatures/{id}settings:write
nextmail signatures copy <id> --addresses <a,b> [flags]POST /signatures/{id}/copysettings:write
nextmail tasks list [flags]GET /taskstasks:read + threads:read + emails:read
nextmail tasks get <id> [flags]GET /tasks/{id}tasks:read + threads:read + emails:read
nextmail tasks create --name <value> --instruction <value> --trigger-kind <value> [flags]POST /taskstasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks update <id> [flags]PATCH /tasks/{id}tasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks delete <id> [flags]DELETE /tasks/{id}tasks:write
nextmail tasks pause <id> [flags]POST /tasks/{id}/pausetasks:write
nextmail tasks resume <id> [flags]POST /tasks/{id}/resumetasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks run <id> [flags]POST /tasks/{id}/runtasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks list-runs [flags]GET /task-runstasks:read + threads:read + emails:read
nextmail tasks get-run <id> [flags]GET /task-runs/{id}tasks:read + threads:read + emails:read
nextmail tasks start-run --instruction <value> [flags]POST /task-runstasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks cancel-run <id> [flags]POST /task-runs/{id}/canceltasks:write
nextmail tasks list-approvals [flags]GET /task-approvalstasks:read + threads:read + emails:read
nextmail tasks get-approval <id> [flags]GET /task-approvals/{id}tasks:read + threads:read + emails:read
nextmail tasks approve <id> [flags]POST /task-approvals/{id}/approvetasks:write + threads:read + threads:write + emails:read + emails:send + labels:write
nextmail tasks deny <id> [flags]POST /task-approvals/{id}/denytasks:write
nextmail bookings list-pages [flags]GET /booking-pagescalendar:read
nextmail bookings get-page <id> [flags]GET /booking-pages/{id}calendar:read
nextmail bookings create-page --name <value> [flags]POST /booking-pagescalendar:write + emails:send
nextmail bookings update-page <id> [flags]PATCH /booking-pages/{id}calendar:write + emails:send
nextmail bookings upload-background <id> <data> [flags]PUT /booking-pages/{id}/backgroundcalendar:write + emails:send
nextmail bookings remove-background <id> [flags]DELETE /booking-pages/{id}/backgroundcalendar:write + emails:send
nextmail bookings delete-page <id> [flags]DELETE /booking-pages/{id}calendar:write
nextmail bookings list-times <id> [flags]GET /booking-pages/{id}/timescalendar:read
nextmail bookings list [flags]GET /bookingscalendar:read
nextmail bookings get <id> [flags]GET /bookings/{id}calendar:read
nextmail bookings approve <id> [flags]POST /bookings/{id}/approvecalendar:write + emails:send
nextmail bookings decline <id> [flags]POST /bookings/{id}/declinecalendar:write + emails:send
nextmail bookings cancel <id> [flags]POST /bookings/{id}/cancelcalendar:write + emails:send
nextmail bookings resend-email <id> [flags]POST /bookings/{id}/resendcalendar:write + emails:send
nextmail bookings analytics [flags]GET /bookings/analyticscalendar:read
nextmail bookings reschedule <id> --start <when> [flags]POST /bookings/{id}/reschedulecalendar:write + emails:send
nextmail connectors list-apps [flags]GET /connector-appsconnectors:read
nextmail connectors get-app <slug> [flags]GET /connector-apps/{slug}connectors:read
nextmail connectors list-categories [flags]GET /connector-categoriesconnectors:read
nextmail connectors list [flags]GET /connectorsconnectors:read
nextmail connectors get <id> [flags]GET /connectors/{id}connectors:read
nextmail connectors connect --app <value> [flags]POST /connectorsconnectors:write
nextmail connectors update <id> [flags]PATCH /connectors/{id}connectors:write
nextmail connectors disconnect <id> [flags]DELETE /connectors/{id}connectors:write
nextmail connectors reconnect <id> [flags]POST /connectors/{id}/reconnectconnectors:write
nextmail connectors list-actions <id> [flags]GET /connectors/{id}/actionsconnectors:use
nextmail connectors get-action <id> <action> [flags]GET /connectors/{id}/actions/{action}connectors:use
nextmail connectors run-action <id> <action> [flags]POST /connectors/{id}/actions/{action}/runconnectors:use
nextmail connectors list-calls [flags]GET /connector-callsconnectors:read
nextmail connected-mailboxes list [flags]GET /connected-mailboxesthreads:read
nextmail connected-mailboxes get <id> [flags]GET /connected-mailboxes/{id}threads:read
nextmail connected-mailboxes discover <email> [flags]GET /connected-mailboxes/settingsdomains:write
nextmail connected-mailboxes connect --email <value> --password <value> [flags]POST /connected-mailboxesdomains:write
nextmail connected-mailboxes update <id> [flags]PATCH /connected-mailboxes/{id}domains:write
nextmail connected-mailboxes sync <id> [flags]POST /connected-mailboxes/{id}/syncthreads:write
nextmail connected-mailboxes disconnect <id> [flags]DELETE /connected-mailboxes/{id}domains:write
nextmail verify-none
nextmail logout-none
nextmail profile list-none
nextmail profile use <name>-none
nextmail profile remove <name>-none
nextmail profile current-none
nextmail open [page] [--print]-none
nextmail update-none
nextmail completion <bash|zsh|fish>-none
nextmail api <method> <path> [--data <json|@file|->] [--query <key=value>] [--header <key=value>]-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.