Command

nylas inbound messages

List messages in an Inbound inbox. Use for polling in E2E tests.

Usage

nylas inbound messages <inbox-id> [options]

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
--unreadOnly unread messages

Examples

List messages

nylas inbound messages inbox_abc123 --json --limit 20

Unread only

nylas inbound messages inbox_abc123 --unread --json

Troubleshooting

Wrong inbox ID

Use nylas inbound list to get IDs. Set NYLAS_INBOUND_GRANT_ID for default.

Recommended guides

Run nylas inbound messages --help for full help output.