Command

nylas demo email list

List emails from a built-in demo account. No authentication or API key required.

Written by Qasim Muhammad Staff SRE

What does nylas demo email list do?

The nylas demo email list command displays sample emails from a pre-configured demo mailbox, letting you explore the CLI's email features without connecting a real account. No API key or OAuth flow needed — run it right after installing. Use --limit to control how many messages are shown. Ideal for evaluating the CLI before committing to setup.

Usage

nylas demo email list [--limit N]

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
--limitNumber of demo emails to display (default: 10)
--yes(-y)Skip confirmations
--idShow message IDs

Examples

The nylas demo email list command displays sample emails from a pre-configured demo mailbox, letting you explore the CLI's email features without connecting a real account.

Browse demo emails without any setup

nylas demo email list

Show 5 demo emails as JSON

nylas demo email list --limit 5 --json

Example output

📧 Demo Mode - Sample Emails

Found 8 messages:

● ★ Sarah Chen           Q4 Planning Meeting - Action Items       Jun 21
●   GitHub               [GitHub] Pull request #247: Add dark ... 2 hours ago
    Amazon Web Services  Your AWS bill for December 2024          5 hours ago
  ★ Mike Johnson         Re: Lunch tomorrow?                      yesterday
    TechCrunch           Weekly Newsletter: Top Tech Stories      yesterday

To connect your real email: nylas auth login

Troubleshooting

Network error fetching demo data

The demo account is hosted remotely. Check your internet connection. The CLI needs outbound HTTPS access to the Nylas API.

Demo data looks stale or empty

Demo data is periodically refreshed server-side. If you see no results, try again later or update the CLI to the latest version.

Recommended guides

Run nylas demo email list --help for full help output.