Command
nylas tui
Launch the terminal UI for browsing email, calendar, and contacts in an interactive interface.
Written by Qasim Muhammad Staff SRE
What does nylas tui do?
The nylas tui command opens a full-screen terminal interface for managing email, calendar events, and contacts. Navigate your inbox with keyboard shortcuts, read and reply to messages, and switch between accounts — all without leaving the terminal. The TUI renders rich email content and supports vim-style navigation.
Usage
nylas tuiFlags
| 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 |
| --refresh | Refresh interval in seconds |
| --theme | Color theme (k9s, amber, green, apple2, vintage, ibm, futuristic, matrix, norton, or custom) |
Examples
The nylas tui command opens a full-screen terminal interface for managing email, calendar events, and contacts.
Launch the terminal UI
nylas tuiLaunch with verbose logging for debugging
nylas tui --verboseExample output
Launching Nylas TUI...
Connected as alice@example.com
Navigate: j/k move, enter open, : command, / filter, ? help
Press Ctrl+C to quit.Troubleshooting
TUI shows blank screen or garbled output
Ensure your terminal supports 256 colors and is at least 80x24 characters. Try a different terminal emulator if the issue persists.
No emails shown in TUI
Run `nylas auth whoami` to verify an account is connected. The TUI requires an active grant — run `nylas auth login` if needed.
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.
Book meeting rooms from the CLI
Book meeting rooms from the CLI by listing calendar resources, using each room email as a calendar ID, and adding it as an event participant with less setup.
Google Calendar API Sync Tokens
Use Google Calendar API sync tokens for incremental event sync, handle the 410 GONE full-resync, and read calendars from the CLI.
Microsoft Graph calendarView Explained
Query the Microsoft Graph calendarView endpoint for events in a date range with recurrences expanded. Compare it to list events and read calendars from the CLI.
Microsoft Graph getSchedule Free/Busy
Call the Microsoft Graph getSchedule action to read free/busy for Outlook and Exchange calendars, then check availability across providers from the CLI.
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.
Run nylas tui --help for full help output.