Source: https://cli.nylas.com/docs/commands

# Command Reference

The CLI ships **247 commands** organized into **26 categories**: email, calendar, contacts, authentication, MCP, Notetaker, Slack, webhooks, dashboard, AI chat, and more. Every command supports `--json` output for piping into `jq`, `--help` for inline docs, and reads from an encrypted config in `~/.config/nylas/`. Run `nylas [command] --help` for details on any command.

## Global Flags

Flags available on every command.

| Command | Description |
| --- | --- |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose / -v | Enable verbose output |
| --config PATH | Custom config file path |
| --help / -h | Show help for any command |
| --limit N | Limit results (most list commands) |
| --yes / -y | Skip confirmations |

## Getting Started

First-time setup, account creation, and onboarding.

| Command | Description |
| --- | --- |
| [nylas init](https://cli.nylas.com/docs/commands/init) | Guided setup wizard for first-time users |
| [nylas init --api-key KEY](https://cli.nylas.com/docs/commands/init) | Quick setup with an existing API key |
| [nylas init --api-key KEY --region eu](https://cli.nylas.com/docs/commands/init) | Quick setup targeting the EU region |
| [nylas init --google](https://cli.nylas.com/docs/commands/init) | Start setup with Google SSO |
| [nylas init --microsoft](https://cli.nylas.com/docs/commands/init) | Start setup with Microsoft SSO |
| [nylas init --github](https://cli.nylas.com/docs/commands/init) | Start setup with GitHub SSO |

## Dashboard

Manage your Nylas account, applications, API keys, and organizations.

| Command | Description |
| --- | --- |
| [nylas dashboard register](https://cli.nylas.com/docs/commands/dashboard-register) | Create a new Nylas account via SSO |
| [nylas dashboard login](https://cli.nylas.com/docs/commands/dashboard-login) | Log in to your Nylas Dashboard account |
| [nylas dashboard login --google](https://cli.nylas.com/docs/commands/dashboard-login) | Log in with Google SSO |
| [nylas dashboard login --microsoft](https://cli.nylas.com/docs/commands/dashboard-login) | Log in with Microsoft SSO |
| [nylas dashboard login --github](https://cli.nylas.com/docs/commands/dashboard-login) | Log in with GitHub SSO |
| [nylas dashboard sso](https://cli.nylas.com/docs/commands/dashboard-sso) | Authenticate via SSO directly |
| [nylas dashboard logout](https://cli.nylas.com/docs/commands/dashboard-logout) | Log out of the Dashboard |
| [nylas dashboard status](https://cli.nylas.com/docs/commands/dashboard-status) | Show current authentication status |
| [nylas dashboard refresh](https://cli.nylas.com/docs/commands/dashboard-refresh) | Refresh session tokens |
| [nylas dashboard sso login --provider google](https://cli.nylas.com/docs/commands/dashboard-sso-login) | Log in via SSO with a specific provider |
| [nylas dashboard sso register --provider github](https://cli.nylas.com/docs/commands/dashboard-sso-register) | Register a new account via SSO |
| [nylas dashboard apps list](https://cli.nylas.com/docs/commands/dashboard-apps-list) | List your applications |
| [nylas dashboard apps create --name N --region R](https://cli.nylas.com/docs/commands/dashboard-apps-create) | Create a new application |
| [nylas dashboard apps use <app-id>](https://cli.nylas.com/docs/commands/dashboard-apps-use) | Set active application |
| [nylas dashboard apps apikeys list](https://cli.nylas.com/docs/commands/dashboard-apps-apikeys-list) | List API keys for active app |
| [nylas dashboard apps apikeys create](https://cli.nylas.com/docs/commands/dashboard-apps-apikeys-create) | Create a new API key |
| [nylas dashboard domains list](https://cli.nylas.com/docs/commands/dashboard-domains-list) | List registered email domains |
| [nylas dashboard domains check <domain>](https://cli.nylas.com/docs/commands/dashboard-domains-check) | Check domain availability across regions |
| [nylas dashboard domains create <subdomain>.nylas.email --region <region>](https://cli.nylas.com/docs/commands/dashboard-domains-create) | Register a free Agent Account email domain |
| [nylas dashboard domains show <domain-id-or-address>](https://cli.nylas.com/docs/commands/dashboard-domains-show) | Show one registered domain |
| [nylas dashboard domains dns <domain-id-or-address>](https://cli.nylas.com/docs/commands/dashboard-domains-dns) | Show DNS records required for verification |
| [nylas dashboard domains verify <domain-id-or-address>](https://cli.nylas.com/docs/commands/dashboard-domains-verify) | Verify domain DNS records |
| [nylas dashboard domains update <domain-id-or-address> --name NAME](https://cli.nylas.com/docs/commands/dashboard-domains-update) | Update a domain display name |
| [nylas dashboard domains delete <domain-id-or-address>](https://cli.nylas.com/docs/commands/dashboard-domains-delete) | Delete a registered domain |
| [nylas dashboard orgs list](https://cli.nylas.com/docs/commands/dashboard-orgs-list) | List organizations |
| [nylas dashboard orgs switch](https://cli.nylas.com/docs/commands/dashboard-orgs-switch) | Switch active organization |

## AI Chat

Web-based AI chat interface for email, calendar, and contacts.

| Command | Description |
| --- | --- |
| [nylas chat](https://cli.nylas.com/docs/commands/chat) | Launch AI chat in your browser |
| [nylas chat --agent claude](https://cli.nylas.com/docs/commands/chat) | Chat using Claude |
| [nylas chat --agent codex](https://cli.nylas.com/docs/commands/chat) | Chat using Codex |
| [nylas chat --agent ollama --model llama2](https://cli.nylas.com/docs/commands/chat) | Chat using a local Ollama model |
| [nylas chat --port 8080](https://cli.nylas.com/docs/commands/chat) | Run on a custom port |
| [nylas chat --no-browser](https://cli.nylas.com/docs/commands/chat) | Start server without opening browser |

## Authentication

Manage API credentials and connected accounts.

| Command | Description |
| --- | --- |
| [nylas auth config](https://cli.nylas.com/docs/commands/auth-config) | Configure API credentials |
| [nylas auth login](https://cli.nylas.com/docs/commands/auth-login) | Authenticate with a provider |
| [nylas auth list](https://cli.nylas.com/docs/commands/auth-list) | List connected accounts |
| [nylas auth show [grant-id]](https://cli.nylas.com/docs/commands/auth-show) | Show account details |
| [nylas auth status](https://cli.nylas.com/docs/commands/auth-status) | Check authentication status |
| [nylas auth whoami](https://cli.nylas.com/docs/commands/auth-whoami) | Show current user info |
| [nylas auth switch](https://cli.nylas.com/docs/commands/auth-switch) | Switch active account |
| [nylas auth logout](https://cli.nylas.com/docs/commands/auth-logout) | Logout current account |
| [nylas auth remove](https://cli.nylas.com/docs/commands/auth-remove) | Remove account completely |
| [nylas auth token](https://cli.nylas.com/docs/commands/auth-token) | Display current API key |
| [nylas auth scopes [grant-id]](https://cli.nylas.com/docs/commands/auth-scopes) | Show granted OAuth scopes |
| [nylas auth providers](https://cli.nylas.com/docs/commands/auth-providers) | List available providers |
| [nylas auth migrate](https://cli.nylas.com/docs/commands/auth-migrate) | Migrate from v2 to v3 |

## Email

Send, read, search, and manage email messages.

| Command | Description |
| --- | --- |
| [nylas email list [grant-id]](https://cli.nylas.com/docs/commands/email-list) | List recent emails |
| [nylas email read <id>](https://cli.nylas.com/docs/commands/email-read) | Read a specific email |
| [nylas email read <id> --raw](https://cli.nylas.com/docs/commands/email-read) | Show body without HTML rendering |
| [nylas email read <id> --mime](https://cli.nylas.com/docs/commands/email-read) | Show raw RFC822/MIME content |
| [nylas email read <id> --decrypt](https://cli.nylas.com/docs/commands/email-read) | Decrypt PGP/MIME encrypted email |
| [nylas email read <id> --verify](https://cli.nylas.com/docs/commands/email-read) | Verify GPG signature on email |
| [nylas email send --to EMAIL --subject S --body B](https://cli.nylas.com/docs/commands/email-send) | Send an email |
| [nylas email send... --sign](https://cli.nylas.com/docs/commands/email-send) | Send GPG-signed email |
| [nylas email send... --encrypt](https://cli.nylas.com/docs/commands/email-send) | Send GPG-encrypted email |
| [nylas email send... --sign --encrypt](https://cli.nylas.com/docs/commands/email-send) | Sign and encrypt (recommended) |
| [nylas email send --list-gpg-keys](https://cli.nylas.com/docs/commands/email-send) | List available GPG signing keys |
| [nylas email send --to EMAIL --template-id TPL --template-data '{}'](https://cli.nylas.com/docs/commands/email-send) | Send using a hosted template |
| [nylas email send --to EMAIL --signature-id SIG](https://cli.nylas.com/docs/commands/email-send) | Send with stored signature |
| [nylas email search "Q"](https://cli.nylas.com/docs/commands/email-search) | Search emails |
| [nylas email delete <id>](https://cli.nylas.com/docs/commands/email-delete) | Delete an email |
| [nylas email mark read <id>](https://cli.nylas.com/docs/commands/email-mark-read) | Mark as read |
| [nylas email mark unread <id>](https://cli.nylas.com/docs/commands/email-mark-unread) | Mark as unread |
| [nylas email mark starred <id>](https://cli.nylas.com/docs/commands/email-mark-starred) | Star a message |
| [nylas email smart-compose --prompt P](https://cli.nylas.com/docs/commands/email-smart-compose) | AI-powered email draft |
| [nylas email ai analyze](https://cli.nylas.com/docs/commands/email-ai-analyze) | AI inbox summary |
| [nylas email attachments list <message-id>](https://cli.nylas.com/docs/commands/email-attachments-list) | List attachments |
| [nylas email attachments download <attachment-id> <message-id>](https://cli.nylas.com/docs/commands/email-attachments-download) | Download an attachment |
| [nylas email metadata show <id>](https://cli.nylas.com/docs/commands/email-metadata-show) | Show message metadata |

## Email Folders & Threads

Manage labels, folders, and conversation threads.

| Command | Description |
| --- | --- |
| [nylas email folders list](https://cli.nylas.com/docs/commands/email-folders-list) | List folders |
| [nylas email folders show <folder-id>](https://cli.nylas.com/docs/commands/email-folders-show) | Show folder details |
| [nylas email folders create <name>](https://cli.nylas.com/docs/commands/email-folders-create) | Create folder |
| [nylas email folders rename <folder-id> <new-name>](https://cli.nylas.com/docs/commands/email-folders-rename) | Rename folder |
| [nylas email folders delete <folder-id>](https://cli.nylas.com/docs/commands/email-folders-delete) | Delete folder |
| [nylas email threads list](https://cli.nylas.com/docs/commands/email-threads-list) | List threads |
| [nylas email threads show <thread-id>](https://cli.nylas.com/docs/commands/email-threads-show) | Show thread with all messages |
| [nylas email threads search --query Q](https://cli.nylas.com/docs/commands/email-threads-search) | Search threads |
| [nylas email threads mark <id> --read](https://cli.nylas.com/docs/commands/email-threads-mark) | Mark thread as read |
| [nylas email threads delete <id>](https://cli.nylas.com/docs/commands/email-threads-delete) | Delete thread |

## Email Drafts & Scheduled

Manage draft messages and scheduled sends.

| Command | Description |
| --- | --- |
| [nylas email drafts list](https://cli.nylas.com/docs/commands/email-drafts-list) | List drafts |
| [nylas email drafts show <draft-id>](https://cli.nylas.com/docs/commands/email-drafts-show) | Show draft details |
| [nylas email drafts create --to E --subject S](https://cli.nylas.com/docs/commands/email-drafts-create) | Create a draft |
| [nylas email drafts send <draft-id>](https://cli.nylas.com/docs/commands/email-drafts-send) | Send a draft |
| [nylas email drafts delete <draft-id>](https://cli.nylas.com/docs/commands/email-drafts-delete) | Delete a draft |
| [nylas email scheduled list](https://cli.nylas.com/docs/commands/email-scheduled-list) | List scheduled emails |
| [nylas email scheduled show <schedule-id>](https://cli.nylas.com/docs/commands/email-scheduled-show) | Show scheduled email |
| [nylas email scheduled cancel <schedule-id>](https://cli.nylas.com/docs/commands/email-scheduled-cancel) | Cancel a scheduled send |

## Email Signatures

Stored signatures attached on send for any grant.

| Command | Description |
| --- | --- |
| [nylas email signatures list [grant-id]](https://cli.nylas.com/docs/commands/email-signatures-list) | List stored signatures |
| [nylas email signatures show <id> [grant-id]](https://cli.nylas.com/docs/commands/email-signatures-show) | Show signature details |
| [nylas email signatures create [grant-id] --name N --body B](https://cli.nylas.com/docs/commands/email-signatures-create) | Create a signature |
| [nylas email signatures create [grant-id] --name N --body-file FILE](https://cli.nylas.com/docs/commands/email-signatures-create) | Create from file |
| [nylas email signatures update <id> [grant-id]](https://cli.nylas.com/docs/commands/email-signatures-update) | Update a signature |
| [nylas email signatures delete <id> [grant-id] --yes](https://cli.nylas.com/docs/commands/email-signatures-delete) | Delete a signature |

## Local Email Templates

Reusable templates stored on disk with {{variable}} placeholders.

| Command | Description |
| --- | --- |
| [nylas email templates list](https://cli.nylas.com/docs/commands/email-templates-list) | List local templates |
| [nylas email templates create --name N --subject S --body B](https://cli.nylas.com/docs/commands/email-templates-create) | Create a template |
| [nylas email templates show <id>](https://cli.nylas.com/docs/commands/email-templates-show) | Show template details |
| [nylas email templates update <id>](https://cli.nylas.com/docs/commands/email-templates-update) | Update a template |
| [nylas email templates delete <id>](https://cli.nylas.com/docs/commands/email-templates-delete) | Delete a template |
| [nylas email templates use <id> --to E](https://cli.nylas.com/docs/commands/email-templates-use) | Send using a local template |

## Hosted Templates

Application or grant-scoped templates managed via the Nylas API.

| Command | Description |
| --- | --- |
| [nylas template list](https://cli.nylas.com/docs/commands/template-list) | List hosted templates |
| [nylas template create --name N --subject S --body B](https://cli.nylas.com/docs/commands/template-create) | Create hosted template |
| [nylas template show <id>](https://cli.nylas.com/docs/commands/template-show) | Show template details |
| [nylas template update <id>](https://cli.nylas.com/docs/commands/template-update) | Update a template |
| [nylas template delete <id> --yes](https://cli.nylas.com/docs/commands/template-delete) | Delete a template |
| [nylas template render <id> --data '{}'](https://cli.nylas.com/docs/commands/template-render) | Render with variables |
| [nylas template render-html --body H --engine mustache --data '{}'](https://cli.nylas.com/docs/commands/template-render-html) | Render inline HTML body |

## Hosted Workflows

Automated workflows triggered by Nylas events (e.g., bookings).

| Command | Description |
| --- | --- |
| [nylas workflow list](https://cli.nylas.com/docs/commands/workflow-list) | List workflows |
| [nylas workflow create --name N --template-id T --trigger-event booking.created](https://cli.nylas.com/docs/commands/workflow-create) | Create a workflow |
| [nylas workflow show <id>](https://cli.nylas.com/docs/commands/workflow-show) | Show workflow details |
| [nylas workflow update <id>](https://cli.nylas.com/docs/commands/workflow-update) | Update a workflow |
| [nylas workflow delete <id> --yes](https://cli.nylas.com/docs/commands/workflow-delete) | Delete a workflow |

## Calendar

Manage calendars, events, availability, and AI scheduling.

| Command | Description |
| --- | --- |
| [nylas calendar list](https://cli.nylas.com/docs/commands/calendar-list) | List all calendars |
| [nylas calendar events list [--days N]](https://cli.nylas.com/docs/commands/calendar-events-list) | List upcoming events |
| [nylas calendar events list --timezone America/Los_Angeles --show-tz](https://cli.nylas.com/docs/commands/calendar-events-list) | List events in a specific timezone |
| [nylas calendar events show <id>](https://cli.nylas.com/docs/commands/calendar-events-show) | Show event details |
| [nylas calendar events create --title T --start S --end E](https://cli.nylas.com/docs/commands/calendar-events-create) | Create an event |
| [nylas calendar events update <id>](https://cli.nylas.com/docs/commands/calendar-events-update) | Update an event |
| [nylas calendar events delete <id>](https://cli.nylas.com/docs/commands/calendar-events-delete) | Delete an event |
| [nylas calendar events rsvp <id> yes](https://cli.nylas.com/docs/commands/calendar-events-rsvp) | RSVP to an event |
| [nylas calendar availability check](https://cli.nylas.com/docs/commands/calendar-availability-check) | Check availability |
| [nylas calendar find-time --participants P --duration D](https://cli.nylas.com/docs/commands/calendar-find-time) | Find meeting time |
| [nylas calendar recurring list](https://cli.nylas.com/docs/commands/calendar-recurring-list) | List recurring events |
| [nylas calendar virtual list](https://cli.nylas.com/docs/commands/calendar-virtual-list) | List virtual meetings |
| [nylas calendar schedule ai "..."](https://cli.nylas.com/docs/commands/calendar-schedule-ai) | AI natural language scheduling |
| [nylas calendar ai analyze](https://cli.nylas.com/docs/commands/calendar-ai-analyze) | AI meeting analytics |
| [nylas calendar ai conflicts check](https://cli.nylas.com/docs/commands/calendar-ai-conflicts-check) | Check a proposed meeting for conflicts |
| [nylas calendar ai reschedule ai <id>](https://cli.nylas.com/docs/commands/calendar-ai-reschedule-ai) | AI-powered reschedule |

## Contacts

Manage contacts, contact groups, and contact photos.

| Command | Description |
| --- | --- |
| [nylas contacts list](https://cli.nylas.com/docs/commands/contacts-list) | List contacts |
| [nylas contacts show <id>](https://cli.nylas.com/docs/commands/contacts-show) | Show contact details |
| [nylas contacts create --name N --email E](https://cli.nylas.com/docs/commands/contacts-create) | Create a contact |
| [nylas contacts update <id> --name N](https://cli.nylas.com/docs/commands/contacts-update) | Update a contact |
| [nylas contacts delete <id>](https://cli.nylas.com/docs/commands/contacts-delete) | Delete a contact |
| [nylas contacts search --query Q](https://cli.nylas.com/docs/commands/contacts-search) | Search contacts |
| [nylas contacts sync](https://cli.nylas.com/docs/commands/contacts-sync) | Sync contacts |
| [nylas contacts groups list](https://cli.nylas.com/docs/commands/contacts-groups-list) | List contact groups |
| [nylas contacts groups show <id>](https://cli.nylas.com/docs/commands/contacts-groups-show) | Show group details |
| [nylas contacts groups create <name>](https://cli.nylas.com/docs/commands/contacts-groups-create) | Create a group |
| [nylas contacts groups update <id> --name N](https://cli.nylas.com/docs/commands/contacts-groups-update) | Update a group |
| [nylas contacts groups delete <id>](https://cli.nylas.com/docs/commands/contacts-groups-delete) | Delete a group |
| [nylas contacts photo download <id>](https://cli.nylas.com/docs/commands/contacts-photo-download) | Download contact photo |
| [nylas contacts photo info](https://cli.nylas.com/docs/commands/contacts-photo-info) | Show contact photo metadata |

## Webhooks

Create and manage webhooks for real-time event notifications.

| Command | Description |
| --- | --- |
| [nylas webhook list](https://cli.nylas.com/docs/commands/webhook-list) | List all webhooks |
| [nylas webhook show <id>](https://cli.nylas.com/docs/commands/webhook-show) | Show webhook details |
| [nylas webhook create --url URL --triggers T](https://cli.nylas.com/docs/commands/webhook-create) | Create a webhook |
| [nylas webhook update <id>](https://cli.nylas.com/docs/commands/webhook-update) | Update a webhook |
| [nylas webhook delete <id>](https://cli.nylas.com/docs/commands/webhook-delete) | Delete a webhook |
| [nylas webhook rotate-secret <id> --yes](https://cli.nylas.com/docs/commands/webhook-rotate-secret) | Rotate the signing secret |
| [nylas webhook verify --payload-file F --signature SIG --secret SECRET](https://cli.nylas.com/docs/commands/webhook-verify) | Verify a webhook signature locally |
| [nylas webhook triggers](https://cli.nylas.com/docs/commands/webhook-triggers) | List available trigger types |
| [nylas webhook test send <url>](https://cli.nylas.com/docs/commands/webhook-test-send) | Send test payload |
| [nylas webhook test payload [trigger]](https://cli.nylas.com/docs/commands/webhook-test-payload) | Generate a test payload |
| [nylas webhook server](https://cli.nylas.com/docs/commands/webhook-server) | Start local webhook server |
| [nylas webhook server --port 8080 --tunnel cloudflared](https://cli.nylas.com/docs/commands/webhook-server) | Run webhook server behind a public tunnel |
| [nylas webhook pubsub list](https://cli.nylas.com/docs/commands/webhook-pubsub-list) | List Pub/Sub channels |
| [nylas webhook pubsub show <id>](https://cli.nylas.com/docs/commands/webhook-pubsub-show) | Show Pub/Sub channel details |
| [nylas webhook pubsub create --topic projects/P/topics/T --triggers message.created](https://cli.nylas.com/docs/commands/webhook-pubsub-create) | Create a Pub/Sub channel |
| [nylas webhook pubsub update <id> --status inactive](https://cli.nylas.com/docs/commands/webhook-pubsub-update) | Update a Pub/Sub channel |
| [nylas webhook pubsub delete <id> --yes](https://cli.nylas.com/docs/commands/webhook-pubsub-delete) | Delete a Pub/Sub channel |

## MCP (Model Context Protocol)

Connect AI assistants to your email and calendar.

| Command | Description |
| --- | --- |
| [nylas mcp install](https://cli.nylas.com/docs/commands/mcp-install) | Interactive assistant setup |
| [nylas mcp install --assistant claude-code](https://cli.nylas.com/docs/commands/mcp-install) | Install for Claude Code |
| [nylas mcp install --assistant cursor](https://cli.nylas.com/docs/commands/mcp-install) | Install for Cursor |
| [nylas mcp install --all](https://cli.nylas.com/docs/commands/mcp-install) | Install for all assistants |
| [nylas mcp status](https://cli.nylas.com/docs/commands/mcp-status) | Check installation status |
| [nylas mcp uninstall --assistant A](https://cli.nylas.com/docs/commands/mcp-uninstall) | Remove configuration |
| [nylas mcp serve](https://cli.nylas.com/docs/commands/mcp-serve) | Start MCP server |

## Audit Logging

Track, query, and export a log of every CLI command execution.

| Command | Description |
| --- | --- |
| [nylas audit init](https://cli.nylas.com/docs/commands/audit-init) | Initialize audit logging |
| [nylas audit logs enable](https://cli.nylas.com/docs/commands/audit-logs-enable) | Enable audit logging |
| [nylas audit logs disable](https://cli.nylas.com/docs/commands/audit-logs-disable) | Disable audit logging |
| [nylas audit logs status](https://cli.nylas.com/docs/commands/audit-logs-status) | Check whether logging is active |
| [nylas audit logs show](https://cli.nylas.com/docs/commands/audit-logs-show) | View and filter audit log entries |
| [nylas audit logs summary](https://cli.nylas.com/docs/commands/audit-logs-summary) | View summary statistics |
| [nylas audit logs clear](https://cli.nylas.com/docs/commands/audit-logs-clear) | Clear all audit log entries |
| [nylas audit export](https://cli.nylas.com/docs/commands/audit-export) | Export audit logs to JSON or CSV |
| [nylas audit config show](https://cli.nylas.com/docs/commands/audit-config-show) | View current audit configuration |
| [nylas audit config set <key> <value>](https://cli.nylas.com/docs/commands/audit-config-set) | Set an audit configuration value |

## AI Features

Privacy-first AI assistant with local and cloud providers.

| Command | Description |
| --- | --- |
| [nylas ai config](https://cli.nylas.com/docs/commands/ai-config) | Configure AI provider |
| [nylas email ai analyze](https://cli.nylas.com/docs/commands/email-ai-analyze) | AI inbox analysis |
| [nylas email smart-compose --prompt P](https://cli.nylas.com/docs/commands/email-smart-compose) | AI email compose |
| [nylas calendar schedule ai "..."](https://cli.nylas.com/docs/commands/calendar-schedule-ai) | Natural language scheduling |
| [nylas calendar ai analyze](https://cli.nylas.com/docs/commands/calendar-ai-analyze) | Meeting pattern analytics |
| [nylas calendar find-time...](https://cli.nylas.com/docs/commands/calendar-find-time) | AI meeting time finder |

## Timezone Utilities

100% offline timezone tools. No API key required.

| Command | Description |
| --- | --- |
| [nylas timezone list](https://cli.nylas.com/docs/commands/timezone-list) | List all timezones |
| [nylas timezone convert --from PST --to EST](https://cli.nylas.com/docs/commands/timezone-convert) | Convert time between zones |
| [nylas timezone dst --zone ZONE](https://cli.nylas.com/docs/commands/timezone-dst) | Check DST transitions |
| [nylas timezone find-meeting --zones Z](https://cli.nylas.com/docs/commands/timezone-find-meeting) | Find cross-timezone meeting times |
| [nylas timezone info <zone>](https://cli.nylas.com/docs/commands/timezone-info) | Get timezone info |

## Agent Email Identities

Receive (and send) at managed agent addresses with no OAuth. Replaces the deprecated nylas inbound surface.

| Command | Description |
| --- | --- |
| [nylas agent account list](https://cli.nylas.com/docs/commands/agent-account-list) | List agent accounts |
| [nylas agent account create <email>](https://cli.nylas.com/docs/commands/agent-account-create) | Create a managed identity on a registered domain |
| [nylas email list](https://cli.nylas.com/docs/commands/email-list) | Read messages in the agent inbox |
| [nylas webhook create --triggers message.created](https://cli.nylas.com/docs/commands/webhook-create) | Real-time inbound via webhooks |
| [nylas agent status](https://cli.nylas.com/docs/commands/agent-status) | Connector and account readiness |

## Slack Integration

Interact with Slack workspaces from the CLI.

| Command | Description |
| --- | --- |
| [nylas slack auth set --token T](https://cli.nylas.com/docs/commands/slack-auth-set) | Store Slack user token |
| [nylas slack auth status](https://cli.nylas.com/docs/commands/slack-auth-status) | Show Slack auth status |
| [nylas slack auth remove](https://cli.nylas.com/docs/commands/slack-auth-remove) | Remove stored Slack token |
| [nylas slack channels list](https://cli.nylas.com/docs/commands/slack-channels-list) | List channels |
| [nylas slack channels list --all-workspace](https://cli.nylas.com/docs/commands/slack-channels-list) | List all workspace channels (slower) |
| [nylas slack channels info <channel-id>](https://cli.nylas.com/docs/commands/slack-channels-info) | Show channel details |
| [nylas slack messages list --channel C](https://cli.nylas.com/docs/commands/slack-messages-list) | List messages |
| [nylas slack messages list --channel C --thread TS](https://cli.nylas.com/docs/commands/slack-messages-list) | Show thread replies |
| [nylas slack send --channel C --text T](https://cli.nylas.com/docs/commands/slack-send) | Send a message |
| [nylas slack reply --channel C --thread TS --text T](https://cli.nylas.com/docs/commands/slack-reply) | Reply in a thread |
| [nylas slack search --query Q](https://cli.nylas.com/docs/commands/slack-search) | Search messages |
| [nylas slack users list](https://cli.nylas.com/docs/commands/slack-users-list) | List workspace users |

## Notetaker (AI Meeting Bot)

Manage Nylas Notetaker bots that join Zoom, Google Meet, and Teams to record and transcribe.

| Command | Description |
| --- | --- |
| [nylas notetaker list](https://cli.nylas.com/docs/commands/notetaker-list) | List all notetakers |
| [nylas notetaker list --state scheduled](https://cli.nylas.com/docs/commands/notetaker-list) | Filter by state |
| [nylas notetaker create --meeting-link URL](https://cli.nylas.com/docs/commands/notetaker-create) | Create a notetaker for a meeting |
| [nylas notetaker create --meeting-link URL --join-time "tomorrow 2pm"](https://cli.nylas.com/docs/commands/notetaker-create) | Schedule a future join |
| [nylas notetaker show <id>](https://cli.nylas.com/docs/commands/notetaker-show) | Show notetaker details |
| [nylas notetaker media <id>](https://cli.nylas.com/docs/commands/notetaker-media) | Get recording and transcript URLs |
| [nylas notetaker delete <id>](https://cli.nylas.com/docs/commands/notetaker-delete) | Cancel or delete a notetaker |

## OTP (One-Time Password)

Retrieve OTP/verification codes from email automatically.

| Command | Description |
| --- | --- |
| [nylas otp get](https://cli.nylas.com/docs/commands/otp-get) | Get the latest OTP and copy it to clipboard |
| [nylas otp get [email]](https://cli.nylas.com/docs/commands/otp-get) | Get OTP from a specific account |
| [nylas otp get --raw](https://cli.nylas.com/docs/commands/otp-get) | Output only the code |
| [nylas otp watch](https://cli.nylas.com/docs/commands/otp-watch) | Continuously watch for new OTP codes |
| [nylas otp watch --interval 5](https://cli.nylas.com/docs/commands/otp-watch) | Poll every N seconds |
| [nylas otp list](https://cli.nylas.com/docs/commands/otp-list) | List configured accounts |
| [nylas otp messages](https://cli.nylas.com/docs/commands/otp-messages) | Show recent messages with OTP detection |

## Agent Accounts

Create and manage Nylas-managed agent accounts, policies, and rules.

| Command | Description |
| --- | --- |
| [nylas agent account list](https://cli.nylas.com/docs/commands/agent-account-list) | List agent accounts |
| [nylas agent account create <email>](https://cli.nylas.com/docs/commands/agent-account-create) | Create an agent account on a registered domain |
| [nylas agent account create <email> --name "Support Bot"](https://cli.nylas.com/docs/commands/agent-account-create) | Create with a display name |
| [nylas agent account create <email> --app-password PW](https://cli.nylas.com/docs/commands/agent-account-create) | Create with IMAP/SMTP app password |
| [nylas agent account get <id\|email>](https://cli.nylas.com/docs/commands/agent-account-get) | Show one agent account |
| [nylas agent account update <id\|email> --name "Support Bot"](https://cli.nylas.com/docs/commands/agent-account-update) | Set the display name |
| [nylas agent account update [id\|email] --app-password PW](https://cli.nylas.com/docs/commands/agent-account-update) | Rotate app password |
| [nylas agent account delete <id\|email>](https://cli.nylas.com/docs/commands/agent-account-delete) | Delete an agent account |
| [nylas agent policy list](https://cli.nylas.com/docs/commands/agent-policy-list) | List policies |
| [nylas agent policy create --name N](https://cli.nylas.com/docs/commands/agent-policy-create) | Create a policy |
| [nylas agent policy get <id>](https://cli.nylas.com/docs/commands/agent-policy-get) | Show one policy |
| [nylas agent policy read <id>](https://cli.nylas.com/docs/commands/agent-policy-read) | Read one policy (alias of get) |
| [nylas agent policy update <id> --name N](https://cli.nylas.com/docs/commands/agent-policy-update) | Update a policy |
| [nylas agent policy delete <id> --yes](https://cli.nylas.com/docs/commands/agent-policy-delete) | Delete an unattached policy |
| [nylas agent rule list](https://cli.nylas.com/docs/commands/agent-rule-list) | List rules |
| [nylas agent rule get <id>](https://cli.nylas.com/docs/commands/agent-rule-get) | Show one rule |
| [nylas agent rule read <id>](https://cli.nylas.com/docs/commands/agent-rule-read) | Read one rule (alias of get) |
| [nylas agent rule create --name N --condition C --action A](https://cli.nylas.com/docs/commands/agent-rule-create) | Create a rule from flags |
| [nylas agent rule create --data-file rule.json](https://cli.nylas.com/docs/commands/agent-rule-create) | Create a rule from full JSON |
| [nylas agent rule update <id> --name N](https://cli.nylas.com/docs/commands/agent-rule-update) | Update a rule |
| [nylas agent rule delete <id> --yes](https://cli.nylas.com/docs/commands/agent-rule-delete) | Delete a rule |
| [nylas agent status](https://cli.nylas.com/docs/commands/agent-status) | Check connector and account status |

## Scheduler (Booking Pages)

Manage scheduler configurations, sessions, and bookings.

| Command | Description |
| --- | --- |
| [nylas scheduler bookings show <id>](https://cli.nylas.com/docs/commands/scheduler-bookings-show) | Show booking details |
| [nylas scheduler bookings confirm <id>](https://cli.nylas.com/docs/commands/scheduler-bookings-confirm) | Confirm a booking |
| [nylas scheduler bookings reschedule <id>](https://cli.nylas.com/docs/commands/scheduler-bookings-reschedule) | Reschedule a booking |
| [nylas scheduler bookings cancel <id>](https://cli.nylas.com/docs/commands/scheduler-bookings-cancel) | Cancel a booking |
| [nylas scheduler configurations list](https://cli.nylas.com/docs/commands/scheduler-configurations-list) | List configurations |
| [nylas scheduler configurations show <id>](https://cli.nylas.com/docs/commands/scheduler-configurations-show) | Show a configuration |
| [nylas scheduler configurations create](https://cli.nylas.com/docs/commands/scheduler-configurations-create) | Create a configuration |
| [nylas scheduler configurations update <id>](https://cli.nylas.com/docs/commands/scheduler-configurations-update) | Update a configuration |
| [nylas scheduler configurations delete <id>](https://cli.nylas.com/docs/commands/scheduler-configurations-delete) | Delete a configuration |
| [nylas scheduler sessions create](https://cli.nylas.com/docs/commands/scheduler-sessions-create) | Create a booking session |
| [nylas scheduler sessions show <id>](https://cli.nylas.com/docs/commands/scheduler-sessions-show) | Show session details |

## Admin (API Management)

Manage Nylas applications, callback URIs, connectors, credentials, and grants.

| Command | Description |
| --- | --- |
| [nylas admin applications list](https://cli.nylas.com/docs/commands/admin-applications-list) | List applications |
| [nylas admin applications show <app-id>](https://cli.nylas.com/docs/commands/admin-applications-show) | Show application details |
| [nylas admin applications create](https://cli.nylas.com/docs/commands/admin-applications-create) | Create an application |
| [nylas admin applications update <app-id>](https://cli.nylas.com/docs/commands/admin-applications-update) | Update an application |
| [nylas admin applications delete <app-id>](https://cli.nylas.com/docs/commands/admin-applications-delete) | Delete an application |
| [nylas admin callback-uris list](https://cli.nylas.com/docs/commands/admin-callback-uris-list) | List OAuth callback URIs |
| [nylas admin callback-uris show <uri-id>](https://cli.nylas.com/docs/commands/admin-callback-uris-show) | Show callback URI details |
| [nylas admin callback-uris create --url <url>](https://cli.nylas.com/docs/commands/admin-callback-uris-create) | Create a callback URI |
| [nylas admin callback-uris update <id> --url <url>](https://cli.nylas.com/docs/commands/admin-callback-uris-update) | Update a callback URI |
| [nylas admin callback-uris delete <id>](https://cli.nylas.com/docs/commands/admin-callback-uris-delete) | Delete a callback URI |
| [nylas admin connectors list](https://cli.nylas.com/docs/commands/admin-connectors-list) | List provider connectors |
| [nylas admin connectors show <connector-id>](https://cli.nylas.com/docs/commands/admin-connectors-show) | Show connector details |
| [nylas admin connectors create](https://cli.nylas.com/docs/commands/admin-connectors-create) | Create a connector |
| [nylas admin connectors update <id>](https://cli.nylas.com/docs/commands/admin-connectors-update) | Update a connector |
| [nylas admin connectors delete <id>](https://cli.nylas.com/docs/commands/admin-connectors-delete) | Delete a connector |
| [nylas admin credentials list <connector-id>](https://cli.nylas.com/docs/commands/admin-credentials-list) | List credentials |
| [nylas admin credentials show <credential-id>](https://cli.nylas.com/docs/commands/admin-credentials-show) | Show credential details |
| [nylas admin credentials create](https://cli.nylas.com/docs/commands/admin-credentials-create) | Create a credential |
| [nylas admin credentials update <id>](https://cli.nylas.com/docs/commands/admin-credentials-update) | Update a credential |
| [nylas admin credentials delete <id>](https://cli.nylas.com/docs/commands/admin-credentials-delete) | Delete a credential |
| [nylas admin grants list](https://cli.nylas.com/docs/commands/admin-grants-list) | List all grants on the application |
| [nylas admin grants stats](https://cli.nylas.com/docs/commands/admin-grants-stats) | Show grant statistics |

## Other Commands

TUI, Web UI, Air, demo mode, config management, diagnostics, and more.

| Command | Description |
| --- | --- |
| [nylas tui](https://cli.nylas.com/docs/commands/tui) | Launch interactive terminal UI |
| [nylas ui](https://cli.nylas.com/docs/commands/ui) | Start web configuration UI |
| [nylas air](https://cli.nylas.com/docs/commands/air) | Launch full email client in browser |
| [nylas air --encrypted](https://cli.nylas.com/docs/commands/air) | Run Air with encrypted local cache |
| [nylas config list](https://cli.nylas.com/docs/commands/config-list) | Show all configuration |
| [nylas config get <key>](https://cli.nylas.com/docs/commands/config-get) | Get a specific config value |
| [nylas config set <key> <value>](https://cli.nylas.com/docs/commands/config-set) | Set a configuration value |
| [nylas config reset](https://cli.nylas.com/docs/commands/config-reset) | Reset all CLI configuration and credentials |
| [nylas config reset --force](https://cli.nylas.com/docs/commands/config-reset) | Reset without confirmation prompt |
| [nylas config path](https://cli.nylas.com/docs/commands/config-path) | Show configuration file path |
| [nylas version](https://cli.nylas.com/docs/commands/version) | Show CLI version |
| [nylas doctor](https://cli.nylas.com/docs/commands/doctor) | Run system diagnostics |
| [nylas update](https://cli.nylas.com/docs/commands/update) | Update the CLI to the latest version |
| [nylas update --check](https://cli.nylas.com/docs/commands/update) | Check for updates without installing |
| [nylas update --force](https://cli.nylas.com/docs/commands/update) | Force update even if on latest |
| [nylas demo email list](https://cli.nylas.com/docs/commands/demo-email-list) | Try email with sample data (no auth) |
| [nylas demo calendar list](https://cli.nylas.com/docs/commands/demo-calendar-list) | Try calendar with sample data |
| [nylas demo contacts list](https://cli.nylas.com/docs/commands/demo-contacts-list) | Try contacts with sample data |
| [nylas demo notetaker list](https://cli.nylas.com/docs/commands/demo-notetaker-list) | Try notetaker with sample data |
| [nylas demo tui](https://cli.nylas.com/docs/commands/demo-tui) | Interactive demo TUI |
| [nylas completion bash](https://cli.nylas.com/docs/commands/completion-bash) | Generate Bash completion script |
| [nylas completion zsh](https://cli.nylas.com/docs/commands/completion-zsh) | Generate Zsh completion script |
| [nylas completion fish](https://cli.nylas.com/docs/commands/completion-fish) | Generate Fish completion script |
| [nylas completion powershell](https://cli.nylas.com/docs/commands/completion-powershell) | Generate PowerShell completion script |

## Guides

[Send Email from TerminalComplete walkthrough with scripting examples](https://cli.nylas.com/guides/send-email-from-terminal)

[E2E Email TestingVerify emails in Playwright with managed agent accounts](https://cli.nylas.com/guides/e2e-email-testing)

[AI Agent Email Access via MCPSet up Claude, Cursor, or VS Code](https://cli.nylas.com/guides/ai-agent-email-mcp)

[Build an Agent with Email ToolsAdd email and calendar tools to your custom LLM agent](https://cli.nylas.com/guides/build-email-agent-cli)

[GPG Encrypted EmailSign, encrypt, and verify from the CLI](https://cli.nylas.com/guides/gpg-encrypted-email-cli)

[Manage Calendar from CLIEvents, DST detection, AI scheduling](https://cli.nylas.com/guides/manage-calendar-from-terminal)
