Reference

Command Reference

Every command, subcommand, and flag in the Nylas CLI. Use nylas [command] --help for details on any command.

Global Flags

Flags available on every command.

CommandDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose / -vEnable verbose output
--config PATHCustom config file path
--help / -hShow help for any command
--limit NLimit results (most list commands)
--yes / -ySkip confirmations

Authentication

Manage API credentials and connected accounts.

CommandDescription
nylas auth configConfigure API credentials
nylas auth loginAuthenticate with a provider
nylas auth listList connected accounts
nylas auth show [grant-id]Show account details
nylas auth statusCheck authentication status
nylas auth whoamiShow current user info
nylas auth switchSwitch active account
nylas auth logoutLogout current account
nylas auth removeRemove account completely
nylas auth tokenDisplay current API token
nylas auth scopes [grant-id]Show granted OAuth scopes
nylas auth providersList available providers
nylas auth migrateMigrate from v2 to v3

Email

Send, read, search, and manage email messages.

Calendar

Manage calendars, events, availability, and AI scheduling.

Contacts

Manage contacts and contact groups.

CommandDescription
nylas contacts listList contacts
nylas contacts show <id>Show contact details
nylas contacts create --name N --email ECreate a contact
nylas contacts search --query QSearch contacts
nylas contacts syncSync contacts
nylas contacts groups listList contact groups

Webhooks

Create and manage webhooks for real-time event notifications.

CommandDescription
nylas webhook listList all webhooks
nylas webhook create --url URL --triggers TCreate a webhook
nylas webhook update <id>Update a webhook
nylas webhook delete <id>Delete a webhook
nylas webhook triggersList available trigger types
nylas webhook test send URLSend test payload
nylas webhook serverStart local webhook server

MCP (Model Context Protocol)

Connect AI assistants to your email and calendar.

CommandDescription
nylas mcp installInteractive assistant setup
nylas mcp install --assistant claude-codeInstall for Claude Code
nylas mcp install --assistant cursorInstall for Cursor
nylas mcp install --allInstall for all assistants
nylas mcp statusCheck installation status
nylas mcp uninstall --assistant ARemove configuration
nylas mcp serveStart MCP server

AI Features

Privacy-first AI assistant with local and cloud providers.

CommandDescription
nylas ai configConfigure AI provider
nylas email ai analyzeAI inbox analysis
nylas email smart-compose --prompt PAI email compose
nylas calendar schedule ai "..."Natural language scheduling
nylas calendar analyzeMeeting pattern analytics
nylas calendar find-time ...AI meeting time finder

Timezone Utilities

100% offline timezone tools. No API key required.

CommandDescription
nylas timezone listList all timezones
nylas timezone convert --from PST --to ESTConvert time between zones
nylas timezone dst --zone ZONECheck DST transitions
nylas timezone find-meeting --zones ZFind cross-timezone meeting times
nylas timezone info ZONEGet timezone info

Inbound Email

Receive emails at managed addresses without OAuth.

CommandDescription
nylas inbound listList inbound inboxes
nylas inbound createCreate an inbox
nylas inbound messages <id>List messages in inbox
nylas inbound monitorReal-time message monitoring

Slack Integration

Interact with Slack workspaces from the CLI.

Other Commands

TUI, Web UI, Air, demo mode, workflows, and more.

CommandDescription
nylas tuiLaunch interactive terminal UI
nylas uiStart web configuration UI
nylas airLaunch full email client in browser
nylas demo email listTry with sample data (no auth)
nylas workflow otp listList OTP codes
nylas completion bashGenerate shell completions

Guides