Need to list available providers? One command.
The nylas auth providers command lists every email provider the CLI supports — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP. Each entry shows the provider name, authentication method (OAuth or credentials), and supported features.
Quick Start
brew install nylas/nylas-cli/nylas
nylas init
nylas auth providers
Syntax
nylas auth providers
How It Works
The CLI stores credentials securely in your system keychain (macOS Keychain, Linux Secret Service, or Windows Credential Manager). Tokens are refreshed automatically — you authenticate once and commands just work.
Examples
List providers:
nylas auth providers
JSON output:
nylas auth providers --json
Related Commands
-
nylas auth config— Configure API credentials for the Nylas CLI -
nylas auth login— Authenticate with a provider (Gmail, Outlook, etc.) to connect your mailbox -
nylas auth list— List all connected accounts (grants) -
nylas auth whoami— Show current user info for the active account
Full docs: nylas auth providers reference — all flags, advanced examples, and troubleshooting.
All commands: Nylas CLI Command Reference
Get started: brew install nylas/nylas-cli/nylas — other install methods
Top comments (0)