Our mission is to make email, calendar, and contacts accessible from every terminal, every script, and every AI agent.
We believe the best tools get out of your way. Nylas has spent over a decade helping developers embed email, calendar, and contacts into their products without thinking about provider differences. Nylas CLI is how we bring that same idea to the terminal.
Instead of juggling OAuth tokens, IMAP connections, and provider-specific APIs yourself, you authenticate once and get a single interface to Gmail, Microsoft 365, Exchange, Yahoo, iCloud, and any IMAP server. Every command outputs clean JSON you can pipe into scripts, dashboards, or AI agents.
The CLI also ships with a built-in MCP server, so tools like Claude, Cursor, and Windsurf can read, send, and search your email directly. It runs on macOS, Linux, and Windows, and it works the way developers actually work: from the command line.
We build for the terminal. Every feature starts with how it feels in a pipe, a script, or an agent loop.
OAuth tokens live in your OS keyring. GPG encryption is built in. Your credentials and keys never leave your machine.
One tool across Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP. Provider quirks are our problem, not yours.
MIT licensed. Source on GitHub. We ship in the open because developer tools should be auditable and forkable.
We run every command and code example against real mailboxes before we publish. If something breaks or the CLI changes, we update the guide and leave a note so you know what changed and when.
When we compare Nylas CLI to other tools, we say so upfront. We would rather show you a feature matrix and let you decide than make claims we cannot back up.
Have a question, bug report, or idea? We'd love to hear from you.
cli.nylas.com is operated by Nylas, Inc. For privacy inquiries, see our privacy policy. For legal questions, see our terms of service. Licensed under MIT.