logo
Nylas CLI logo

Nylas CLIOne authentication, universal access to every major email and calendar platform

Give AI agents real email, calendar, and contacts across Gmail, Outlook, Exchange, Yahoo, iCloud & IMAP with one auth flow. Build smarter AI today.

Nylas CLI screenshot

More About Nylas CLI

Nylas CLI

Nylas CLI is a free, open-source command-line tool that unifies email, calendar, and contacts across Gmail, Microsoft 365, Exchange, Yahoo, iCloud, and IMAP providers. Built for AI agents with a native MCP server, it enables secure, scriptable access to communication data without browser-based authentication or complex API setups.

Product Highlights

  • Built-in MCP Server: Claude, Cursor, VS Code, and 30+ AI agents can read, send, and schedule email with typed tools in one command — no API keys or middleware required.
  • Pipe-Friendly Architecture: JSON output integrates seamlessly with jq, scripts, CI pipelines, and containerized environments — no GUI or display server needed.
  • Unified Provider Access: One interface replaces fragmented Gmail API, Microsoft Graph, EWS, and IMAP implementations across 6 major email providers.
  • Enterprise-Grade Security: OAuth tokens stored in OS keyring, GPG encryption for messages, and sandboxed credentials that never leave your machine.
  • 72+ Automation Commands: Search, send, list, and manage email, calendar events, contacts, webhooks, and meeting recordings from any terminal.

Use Cases

  • AI Agent Integration: Give coding agents like Claude Code and Cursor persistent email and calendar capabilities for autonomous task completion.
  • DevOps & CI/CD Automation: Send deployment alerts, monitor inboxes, and trigger workflows from SSH sessions and containerized pipelines.
  • Cross-Platform Email Management: Manage Gmail, Outlook, Exchange, and iCloud accounts uniformly without provider-specific API configurations.
  • Secure Communication Workflows: Send GPG-encrypted email, extract OTP codes, and maintain audit trails for compliance-sensitive operations.

Target Audience

Developers, DevOps engineers, and AI agent builders seeking programmatic, secure access to email and calendar data across multiple providers without managing complex OAuth flows or browser-dependent authentication.