Browse
Nylas CLI logo

Nylas CLI

Updated

In short

Nylas CLI is a free, open-source AI developer tool that gives agents a real email, calendar, and contact account across Gmail, Outlook, and IMAP.

What is Nylas CLI?

Nylas CLI is an AI developer tool that gives scripts and AI agents a real email account, calendar, and contact list from the terminal across Gmail, Microsoft 365, Exchange, Yahoo, iCloud, and IMAP through a single auth flow. It is a free, open-source command-line tool built headless-first and pipe-friendly, so every command runs the same way in a script, a cron job, or an autonomous agent. Nylas CLI ships with a built-in MCP server, letting you pipe email and calendar access straight into any MCP-compatible agent without a separate integration. Beyond messaging, it includes GPG encryption, webhook management, and more than 250 commands for scripting and automation. A standout feature is agent accounts: instead of borrowing a human mailbox through an OAuth handshake, you provision a real managed address on a Nylas domain (for example support@you.nylas.email) that the agent fully owns. Policy guardrails let you set rules that block, archive, or flag anything outside your defined policy before the agent acts on it. Commands such as nylas email list --unread --limit 3 return structured output you can add --json to and pipe into jq, grep, or downstream tooling. Guided setup via nylas init signs you up, creates an app and API key, and connects your first email account in one flow, with manual auth available for teams that already have an API key. It installs via Homebrew, Linux/macOS, Windows, or Go. For developers building AI agents that need to send mail, manage calendars, and enforce guardrails from the command line, Nylas CLI provides a unified, provider-agnostic entry point.

What is Nylas CLI used for?

Developers and AI-agent builders use Nylas CLI to give scripts and agents a real, provider-agnostic email, calendar, and contact account from the terminal with policy guardrails.

How much does Nylas CLI cost?

Plan

Price not published

Connect five accounts free, no card required

View pricing

Pros and cons

Pros

  • Unified email, calendar, and contact access across Gmail, Microsoft 365, Exchange, Yahoo, iCloud, and IMAP through one auth flow
  • Built-in MCP server pipes email and calendar access directly into AI agents
  • Agent accounts provision a real managed inbox the agent owns, with no OAuth handshake or borrowed credentials
  • Policy guardrails block, archive, or flag actions outside your rules before the agent acts
  • Free, open source, headless-first, with 250+ commands, GPG encryption, and JSON output for scripting

Cons

  • Command-line only, so there is no graphical interface for non-technical users
  • Agent accounts live on a Nylas domain rather than your own custom email domain
  • Requires comfort with terminal tooling, API keys, and scripting to get value
  • Managed inbox and provider connections depend on Nylas infrastructure and account limits

Questions about Nylas CLI

What is Nylas CLI?

Nylas CLI is a free, open-source command-line tool that gives scripts and AI agents unified access to email, calendar, and contacts across Gmail, Microsoft 365, Exchange, Yahoo, iCloud, and IMAP, with a built-in MCP server for AI agents.

Is Nylas CLI free?

Yes. Nylas CLI is free and open source, and you can connect up to five accounts free with no card required.

What is Nylas CLI used for?

Developers use Nylas CLI to send email, manage calendars, and sync contacts from the terminal, and to give AI agents a real managed inbox with policy guardrails through a built-in MCP server.

How do agent accounts work in Nylas CLI?

Agent accounts provision a real managed address on a Nylas domain that the agent owns outright, with policy rules that block, archive, or flag anything outside your policy before the agent acts, instead of borrowing a human mailbox via OAuth.

How do you install Nylas CLI?

Nylas CLI installs via Homebrew, Linux/macOS, Windows, or Go, and the `nylas init` command runs a guided setup that creates an app, an API key, and connects your first email account in one flow.

Reviews

Sign in to rate and review Nylas CLI.

Sign in to review

No reviews yet. Be the first to review Nylas CLI!

Visit Nylas CLI