Command
nylas ai config
The nylas ai config command sets up which AI provider the CLI uses for smart compose, inbox analysis, and natural language scheduling. Choose between local models (Ollama, LM Studio) for privacy or cloud providers (OpenAI, Anthropic) for capability.
Usage
nylas ai configFlags
| 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 |
Examples
Interactive setup
nylas ai configCheck current AI provider
nylas ai config --jsonTroubleshooting
AI features return errors after config
Verify your AI provider API key is valid. For local models, ensure Ollama or LM Studio is running.
Smart compose is slow
Local models are slower than cloud providers. Switch to OpenAI or Anthropic for faster responses: `nylas ai config`.
Recommended guides
Stop Your AI Agent From Going Rogue
Set inbound and outbound guardrails on AI agent email. Block phishing senders, archive replies, and contain prompt-injection escalation at the connector layer.
Install Nylas Skills for AI Coding Agents
Install nylas-cli and nylas-api skills in Claude Code, Cursor, Codex CLI, Windsurf, and 30+ AI coding agents with one command.
Create an AI Agent Email Identity
Set up a managed email identity for an AI agent. Send and receive from a real inbox in 2 minutes — no OAuth, no third-party mailbox.
Build an AI Email Triage Agent
Build an AI agent that reads your inbox, classifies emails by urgency, drafts replies, and archives noise. Python + Nylas CLI + any LLM.
Nylas vs Recall.ai for AI Agent Email
Compare Nylas CLI and Recall.ai for AI agent email access. One handles email and calendar, the other handles meeting recordings. Pick the right tool.
Email APIs for AI Agents Compared
Compare Gmail API, Microsoft Graph, SendGrid, Mailgun, Nylas, and direct IMAP for giving AI agents email access. Feature table included.
Give Your AI Coding Agent an Email Address
Connect Claude Code, Cursor, OpenAI Codex CLI, Windsurf, and OpenClaw to a real email account via MCP. Step-by-step setup for each tool using Nylas CLI.
Add Nylas as a Manus MCP Server (manus-mcp-cli)
Add Nylas to manus-mcp-cli as an MCP server. Step-by-step config so Manus agents can send email and manage calendars in the sandbox.
Send Email from Linux/Manus Sandbox Without SMTP
Send email from a Linux or Manus sandbox over HTTPS when SMTP ports 25, 465, and 587 are blocked. No Postfix or sendmail — Nylas CLI handles delivery.
Draft Personalized Emails with Manus AI
Use Manus AI to draft personalized emails at scale with Nylas CLI. Feed a contact list, review AI-generated drafts, then send in one command.
Sync Email to CRM with Manus AI
Use Manus AI and Nylas CLI to extract contacts from your inbox, enrich them, and sync to Salesforce, HubSpot, or Pipedrive. No code, no manual data entry.
Email Analytics with Manus AI
Analyze email patterns with Manus AI and Nylas CLI — volume by sender, response times, busiest hours, unread trends, and weekly reports.
Manus AI Email Research Agent
Use Manus AI to deep-search your inbox, summarize email threads, extract decisions, and compile research — all powered by Nylas CLI email commands.
Manus AI Meeting Scheduler
Schedule meetings with natural language using Manus AI and Nylas CLI. Check availability, find mutual times, and create calendar events.
Automate Email with Manus AI: Beginner Guide
Five-minute quickstart for Manus + Nylas CLI. Install the Skill, authenticate one mailbox, send a test email, list recent mail, and run your first search.
Manus AI vs Claude Code for Email Automation
Side-by-side comparison of Manus AI Skills and Claude Code MCP for email and calendar automation. Same Nylas CLI commands, different agent runtimes.
Build an Email Support Agent with Manus AI
Build a Manus support agent that polls a support inbox, matches knowledge base articles, drafts replies, and routes risky tickets for human approval.
Reach Inbox Zero with Manus AI
Reach inbox zero with Manus AI. Triage unread email, categorize by urgency, draft replies, and archive — all via natural language and Nylas CLI.
Mail Manus: Automate Email from CLI
Compare Mail Manus forwarding with direct inbox access. Learn when to add the Nylas CLI Skill for search, sending, follow-ups, and calendar workflows.
Design Email Systems for AI Agents: Structured Formats and Machine-Readable Templates
How to design email workflows that AI agents can parse reliably. Structured JSON output, machine-readable templates, agent-friendly headers, and MCP server integration.
Gmail API Limits for AI Agents
Gmail API has 250 quota units/sec/user, exponential backoff requirements, OAuth consent screens, and token refresh complexity. How to handle each one.
Email as Memory for AI Agents
Use email as persistent memory for AI agents — semantic, episodic, and procedural. Search, retrieve, and reason over conversation history with Nylas CLI.
Why AI Agents Need Email Addresses: Identity, Verification, and Agent-to-Agent Communication
AI agents use email as their primary identity on the internet. Signups, OTP verification, agent-to-agent messaging, and identity trust chains.
Why AI Agents Need Email
AI agents need email for authentication, two-way communication, and audit trails. See how Nylas CLI gives agents full inbox access in a single command.
Audit AI Agent Activity (Claude, Copilot, MCP)
Audit logs for AI agent actions across Claude Code, GitHub Copilot, and MCP. Filter by source, export for compliance, surface commands run by agents.
Create a Manus Skill: Email & Calendar Workflow
Create a Manus Skill that installs Nylas CLI in the sandbox and teaches your agent email and calendar workflows via SKILL.md and setup scripts.
Connect OpenClaw to Nylas for Email and Calendar
Use OpenClaw's exec tool to run Nylas CLI for inbox access, email sending, calendar scheduling, and contact search. Covers TOOLS.md, exec approvals, and PATH setup.
Manage Calendar Events from Terminal
Create, list, update, and delete calendar events from your terminal with Nylas CLI. DST-aware scheduling, timezone conversion, and AI-powered meeting finder.
Give AI Agents Email Access via MCP
Set up Nylas CLI as an MCP server so Claude, Cursor, Windsurf, and VS Code can read, send, and schedule email and calendar events in one command.
Run nylas ai config --help for full help output.