Command
nylas email threads list
List threads.
Written by Qasim Muhammad Staff SRE
What does nylas email threads list do?
The nylas email threads list command displays email conversation threads from your connected mailbox. Each thread groups related messages together, showing the latest message, participant count, and subject. Use --json for scripting.
Usage
nylas email threads listFlags
| 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 | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --id | Show thread IDs |
| --starred(-s) | Only show starred threads |
| --subject | Filter by subject |
| --unread(-u) | Only show unread threads |
Examples
The nylas email threads list command displays email conversation threads from your connected mailbox.
List threads
nylas email threads listJSON output
nylas email threads list --json --limit 20Example output
SUBJECT MESSAGES LAST ACTIVITY
Q3 planning 5 2026-06-21 09:14
Re: Invoice #482 3 2026-06-20 17:02
2 threadsTroubleshooting
Threads show individual messages instead of grouped
Thread grouping depends on the provider. IMAP accounts may not support threading. Gmail and Outlook thread natively.
Thread count seems low
Threads are paginated. Use --limit to increase the count, or use --json and pipe through `jq length` to check total.
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 email threads list --help for full help output.