Nylas CLI
Nylas CLI runs Google, Microsoft and IMAP mail, calendar and contacts from the terminal and through an MCP server for agents.
- 83 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- An agent can read and send mail and see calendar events and contacts of connected accounts.
- Data passes through the Nylas cloud, and the API key opens the application in it.
Install
- Works in
Manual install
brew install nylas/nylas-cli/nylasThe first README option, Homebrew on macOS and Linux. `go install github.com/nylas/cli/cmd/nylas@latest`, binary releases and a Docker image are also listed.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- An agent can read and send mail and see calendar events and contacts of connected accounts.
- Data passes through the Nylas cloud, and the API key opens the application in it.
This is third-party code. Review the repository files before installing.
What it does
Nylas CLI is a Go command-line program for email, calendar, contacts and webhooks. One command set covers Google, Microsoft and IMAP: `nylas email list`, `nylas email send`, `nylas calendar events list`, `nylas contacts create`. The `nylas init` wizard creates a free Nylas account, an application and an API key, and stores the key in the system keyring. The `nylas mcp` command is meant for agents: it starts an MCP server through which Claude Code, Cursor or Codex reach mail, calendar and contacts. The separate `nylas timezone` group converts times, shows daylight-saving transitions and finds a shared meeting slot offline, with no key.
Who it is for. Developers and admins who want an agent to read mail, check a calendar and send messages through one Nylas account.
Good fit when
- A Claude Code agent collects fresh mail on request and drafts replies.
- A Google calendar and a Microsoft work mailbox have to appear in one meeting list.
- Nylas webhooks need a fast way to create and inspect subscriptions from the terminal.
- A team needs a shared meeting time for New York and London with no internet.
Not a fit when
- The mailbox holds data that must not reach outside services: Nylas works through its own cloud.
- Autonomous sending without reviewing the draft does not suit personal correspondence.
- You need mail access without a Nylas account: every command except time zones needs a key and an application.
Example request
Show the five latest emails from my work mailbox and draft a reply to the invoice message.Limitations
Mail, calendar and contacts go through the Nylas cloud, so an account and an API key are required. Only `nylas timezone` and the demo mode `nylas tui --demo` work without them. The key lives in the system keyring: Keychain on macOS, Secret Service on Linux, Credential Manager on Windows. For the EU region the key is entered with the `--region eu` flag. Connecting Google, Microsoft and IMAP needs a sign-in through `nylas auth login`. The `.claude` folder in the repository serves the CLI developers and is not needed by users. The last commit in the repository is from 3 November 2026.
How to disable. Remove the MCP entry from the agent settings, then the program: `brew uninstall nylas` for Homebrew or delete the binary. Revoke the key and connected accounts in the Nylas dashboard.
FAQ
How do I connect Nylas CLI to Claude Code?
Run `nylas init`, then add an MCP server with the `nylas mcp` command to the agent settings. The agent then reaches mail, calendar and contacts of the connected accounts.
Which mail services are supported?
Google, Microsoft and any IMAP server. `nylas auth login` signs in to Google; for Microsoft add `--provider microsoft`.
What can I try without an account?
The demo mode `nylas tui --demo` and the `nylas timezone` commands. Other commands need a Nylas key.
Where is the API key stored?
In the system keyring. Metadata of connected accounts is cached separately for fast lookup.
Is there a terminal UI?
Yes, the `nylas tui` command opens an interface with vim keys and nine themes. The `nylas tui --demo` mode works without an account.
Discussion
No questions or reviews yet.
Related
CLI toolsA single Rust binary: CLI, MCP server and MCP Apps for Yandex Mail, Calendar and Disk, with 13 embedded skills and cross-service workflows
An MCP server and OpenClaw plugin for Yandex Mail, Calendar, Disk and Contacts using app passwords
A terminal CLI and TUI for HEY mail, calendar and contacts, used by a person or by an agent
A local MCP server for Mac and Windows that lets an agent work with mail, messengers, calendars and files.
A self-hosted scheduler with a built-in MCP server: an agent checks slots, books, reschedules and cancels calls.
zele reads and writes Gmail, Outlook and IMAP mail, manages Google Calendar and returns YAML results for agents.
README in short
Installation goes through Homebrew, Go, binary releases and Docker. Next come the setup wizard, commands for mail, calendar, contacts, webhooks and time zones, a terminal UI and a section on MCP.