Command

nylas email list

List recent emails with optional filters.

Usage

nylas email list [grant-id] [--unread] [--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
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--unreadShow only unread
--starredShow only starred
--fromFilter by sender
--has-attachmentOnly emails with attachments

Examples

List recent emails

nylas email list --limit 10

Unread only

nylas email list --unread

JSON for scripting

nylas email list --json --limit 20

Troubleshooting

Recommended guides

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