Command

nylas auth list

List all connected accounts (grants).

Written by Qasim Muhammad Staff SRE

What does nylas auth list do?

The nylas auth list command shows every email account connected to the CLI — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP grants. Each entry displays the grant ID, email address, provider, and status. Use --json to pipe account data into scripts or automation workflows.

Usage

nylas auth list

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas auth list command shows every email account connected to the CLI — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP grants.

List connected accounts

nylas auth list

Output as JSON

nylas auth list --json

Example output

ACTIVE  EMAIL                PROVIDER   GRANT ID       STATUS
  *     alice@example.com    google     grant_abc123   valid
        bob@example.com      microsoft  grant_def456   valid
        team@example.com     imap       grant_ghi789   valid

3 authenticated accounts

Troubleshooting

Recommended guides

Run nylas auth list --help for full help output.