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
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Number of demo emails to display (default: 10) |
| --yes(-y) | Skip confirmations |
| --id | Show 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 listShow 5 demo emails as JSON
nylas demo email list --limit 5 --jsonExample 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 loginTroubleshooting
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
List Fastmail emails from the CLI
List Fastmail emails from the CLI through Nylas IMAP access, using app passwords, inbox filters, JSON output, and Fastmail-specific auth troubleshooting.
Why Cloud Servers Block SMTP Ports
AWS, GCP, and Azure block outbound SMTP port 25 while ports 587 and 465 stay open. Confirm the block and send email over an HTTPS API instead.
Send Email From a Docker Container
Cloud providers block SMTP port 25 from containers. Send email over an HTTPS API on port 443 with one command and no mail daemon at all.
MailerSend vs Nylas: Email Compared
MailerSend sends transactional email from verified domains. Nylas reads and syncs user inboxes across 6 providers. Compare features, pricing, and use cases.
Customer.io vs Nylas: Email Compared
Customer.io sends lifecycle emails to your user base. Nylas reads and sends from real user inboxes via OAuth. Compare use cases, pricing, and AI agent support.
Knock vs Nylas: Notifications vs Email API
Knock delivers multi-channel product notifications via workflows; Nylas provides two-way email and calendar sync. Compare scope, pricing, and agent support.
Run nylas demo email list --help for full help output.