Command

nylas otp messages

Show recent messages with OTP detection

Written by Qasim Muhammad Staff SRE

What does nylas otp messages do?

The nylas otp messages command displays recent messages with OTP detection. It is part of the OTP (One-Time Password) commands, which retrieve OTP/verification codes from email automatically. Use --json for structured output in scripts and automation.

Usage

nylas otp messages

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

Examples

Basic usage

nylas otp messages --help

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

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