Command
nylas otp watch
The nylas otp watch command provides continuously watch for new OTP codes. It is part of the OTP (One-Time Password) commands, which retrieve OTP/verification codes from email automatically.
Written by Qasim Muhammad Staff SRE
What does nylas otp watch do?
The nylas otp watch command provides continuously watch for new OTP codes. It is part of the OTP (One-Time Password) commands, which retrieve OTP/verification codes from email automatically.
Usage
nylas otp watchFlags
| 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
Basic usage
nylas otp watch --helpTroubleshooting
Command not found or fails
Run `nylas auth config` and `nylas auth login` to authenticate first.
Recommended guides
Build a Signup & Verification Bot
An AI agent signs up for services and reads its own verification codes. Give the bot a real inbox on an agent account and pull the OTP with one CLI command.
Build an Order-Status Reply Agent
An AI agent answers where-is-my-order emails: it reads the request, extracts the order ID, looks it up in your system, and replies only to the verified owner.
Migrate Off SendGrid: A Decision Guide
Leaving SendGrid? Route outbound mail to Resend, SES, or Postmark, and move Inbound Parse to a contextual API. A migration checklist and where each piece goes.
Email API for SaaS Startups
SaaS apps need two kinds of email: transactional sends from your domain and contextual access to a user's inbox. Which to pick, and when you need both.
Resend vs Nylas: When to Use Each
Resend is a developer-first transactional email API with React Email. Nylas reads and sends from a user's own inbox across 6 providers. A decision guide.
AWS SES vs Nylas: When to Use Each
Amazon SES sends bulk email cheaply from verified domains. Nylas reads and sends from a user's inbox across 6 providers. Pricing, sandbox, and a decision guide.
Unipile vs Nylas: Messaging & Email APIs
Unipile unifies LinkedIn, WhatsApp, and email in one API. Nylas goes deep on email, calendar, and contacts with Agent Accounts and a CLI. Compare scope and fit.
Outlook CLI: Manage Mail and Calendar
Run Outlook mail and calendar from the terminal — no Azure app registration. One OAuth login to list, send, and schedule across Microsoft 365 and Outlook.com.
Send Email with curl from the Terminal
curl speaks SMTP, so one command sends mail — but it needs an app password, an open port, and a hand-built message. Working syntax, gotchas, and a simpler path.
SPF, DKIM, and DMARC Explained
SPF, DKIM, and DMARC are the three DNS records that prove your email is legitimate. Record syntax, the 10-lookup limit, DMARC policies, and 2024 Gmail rules.
Reply to an Email from the Command Line
Reply in the same thread from the terminal: find the message ID, run nylas email send --reply-to, and keep the headers that hold a conversation together.
Handle Email Bounces from the CLI
Hard vs soft bounces and how to detect them with the message.bounce_detected webhook — then suppress hard bounces permanently to protect your sender reputation.
Build an AutoGen Email Agent
Give an AutoGen agent email by registering the Nylas CLI as a function tool — one subprocess per action, JSON in and out, across 6 providers with no SDK.
Email Tools for the Vercel AI SDK
Add email to a Vercel AI SDK agent with a tool() that shells out to the Nylas CLI. JSON output and read/send across 6 providers with no per-provider SDK.
Build a CrewAI Email Agent
Give a CrewAI agent email by wrapping the Nylas CLI as a tool — one subprocess call per action, JSON in and out, across 6 providers, with no per-provider SDK.
n8n Email Automation Across Providers
Add email to an n8n workflow without a per-provider OAuth app. Call the Nylas CLI from an Execute Command node to read and send across 6 providers as JSON.
Connect Claude to Your Email with MCP
Claude has no built-in multi-provider email. Connect it via MCP: run the Nylas MCP server and Claude reads and sends across Gmail, Outlook, Yahoo, and iCloud.
Postmark vs Nylas: When to Use Each
Postmark sends fast transactional email from your domain with separate message streams. Nylas reads and sends from a user's own inbox across 6 providers.
Mailgun vs Nylas: When to Use Each
Mailgun sends and routes email from your domain. Nylas reads and sends from a user's inbox across 6 providers. Pricing, inbound routing, and a decision guide.
Brevo vs Nylas: When to Use Each
Brevo (ex-Sendinblue) sends marketing and transactional email from your domain. Nylas reads and sends from a user's own inbox across 6 providers. A decision guide.
Merge.dev vs Nylas: Which Unified API?
Merge.dev is a unified API for HR, ATS, CRM, and accounting systems. Nylas is a unified API for email, calendar, and contacts inboxes. They cover different categories.
Gmail API vs Nylas: When to Use Each
The Gmail API reads and sends Gmail only, with OAuth, quotas, and historyId sync you manage. Nylas wraps Gmail plus 5 providers behind one API. A decision guide.
Nodemailer vs Nylas: When to Use Each
Nodemailer is a Node.js library that sends mail through your own SMTP server. Nylas is a hosted API that reads and sends from a user's inbox across 6 providers.
Mandrill vs Nylas: When to Use Each
Mandrill is Mailchimp's transactional add-on, sending from your domain and requiring a paid Mailchimp account. Nylas reads and sends from a user's inbox across 6 providers.
Loops vs Nylas: When to Use Each
Loops is a modern SaaS email platform for transactional and marketing sends from your domain. Nylas reads and sends from a user's own inbox across 6 providers.
SparkPost vs Nylas: When to Use Each
SparkPost (now Bird) is a high-volume sender built for deliverability analytics. Nylas reads and sends from a user's own inbox across 6 providers. A decision guide.
Front vs Nylas: When to Use Each
Front is a shared-inbox product your team logs into. Nylas is the email API you build your own inbox features on. Buy-the-app vs build-the-feature, compared.
Zapier Email vs Nylas: When to Use Each
Zapier is no-code automation that glues apps together by task. Nylas is a developer API for building email and calendar into your own product. A decision guide.
Build a Pydantic AI Email Agent (CLI Tool)
Give a Pydantic AI agent email by wrapping the Nylas CLI as a typed tool — one subprocess call per action, JSON in and out, across six providers, with no SDK.
Build a LlamaIndex Email Agent (CLI Tool)
Give a LlamaIndex agent email by wrapping the Nylas CLI as a FunctionTool — one subprocess per action, JSON in and out, across six providers, with no SDK.
Build a LangGraph Email Agent (CLI Tool)
Give a LangGraph agent email by wrapping the Nylas CLI as a tool node — one subprocess call per action, JSON in and out, across six providers, with no SDK.
How to Evaluate an Email AI Agent
Evaluate an email agent with a labeled test set, classification and action-accuracy metrics, and prompt-injection guardrail tests you run on every change.
RAG Over Email: Index & Query the Inbox
Build retrieval-augmented generation over a mailbox: pull messages with the Nylas CLI, embed and index them, then answer questions grounded in real email.
Anthropic Tool Use for Email (CLI)
Give Claude email with Anthropic tool use: define tool schemas, run the tool-use loop, dispatch each call to the Nylas CLI. Six providers, no provider SDK.
Semantic Kernel Email Agent (CLI Plugin)
Give a Semantic Kernel agent email by wrapping the Nylas CLI in a native plugin function — one subprocess per action, JSON in and out, across six providers.
OpenAI Assistants Email Tools (CLI)
Give an OpenAI assistant email with function calling: define tool schemas, dispatch each call to the Nylas CLI, return JSON. Six providers, no provider SDK.
Fix the OAuth invalid_grant Error (Email)
The invalid_grant error means a refresh token is dead: revoked, expired, password changed, or clock skew. Diagnose each cause and recover the grant with a re-auth.
Service Account vs OAuth for Email Access
Service accounts give an app its own identity; user OAuth acts on a person's behalf. When to use each for email, the security trade-offs, and the simpler default.
Google Domain-Wide Delegation, Explained
Domain-wide delegation lets a service account act as any Workspace user. When you need it, the security trade-offs, and when per-user OAuth via Nylas is simpler.
OAuth Refresh Token Management for Email
Access tokens expire every 3,600 seconds; refresh tokens mint new ones. How refresh works, what revokes it, and how Nylas refreshes email tokens for you.
OAuth Scopes for Email, Explained
OAuth scopes decide what an app may read or send in a mailbox. How email scopes work on Google and Microsoft, least privilege, and how Nylas requests them for you.
Send Email from a Bash Script
Send email from a bash script with one command and no SMTP. Add conditional sends, exit-code checks, and HTML bodies with the Nylas CLI across six providers.
Send Email Alerts from Terraform
Notify your team on Terraform apply without SMTP. Use a local-exec provisioner to run the Nylas CLI, with the API key from an environment variable, never state.
Send Email from a Kubernetes CronJob
Send scheduled email from a Kubernetes CronJob without an SMTP sidecar. Run the Nylas CLI in a hardened container, keying the API key from a Secret. Manifest included.
Send Email from Jenkins Pipelines
Send email from Jenkins without the Email Extension plugin or an SMTP server. Call the Nylas CLI in a post block to notify on build failure with one command.
Send Email from GitLab CI Pipelines
Send email from GitLab CI without SMTP. Install the Nylas CLI in a job, authenticate with a masked variable, and notify on pipeline failure with one command.
Send Email to Discord with a Webhook (CLI)
Post email to a Discord channel from the terminal. Pull messages as JSON with the Nylas CLI and POST them to a Discord webhook as rich embeds. No bot to host.
Export Email to CSV from the Terminal
Export email to a clean CSV from the terminal. Pull messages as JSON with the Nylas CLI and build RFC 4180 rows with jq's @csv, with headers and safe quoting.
Sync Email to Amazon S3 from the Terminal
Archive email to Amazon S3 from the terminal. Export messages as JSON with the Nylas CLI and upload them with the AWS CLI, partitioned by date for cheap retrieval.
Load Email into Postgres from the Terminal
Load email into PostgreSQL from the terminal. Pull messages as JSON with the Nylas CLI and insert them with psql, using JSONB or typed columns. Idempotent upserts.
Send Email to Airtable from the Terminal
Create Airtable records from email in the terminal. Pull messages as JSON with the Nylas CLI, map fields with jq, and POST records to the Airtable API. No Zapier.
Send Email to a Notion Database (CLI)
Turn email into Notion database pages from the terminal. Pull messages as JSON with the Nylas CLI and create pages with the Notion API. No paid automation needed.
Log Email to Google Sheets from the Terminal
Pipe email into a Google Sheet from the terminal. Pull messages as JSON with the Nylas CLI, shape rows with jq, and append them with the Sheets API. No add-ons.
Mark Emails Read, Unread, or Starred (CLI)
Mark email read, unread, or starred from the terminal with one command. Flip a single message or bulk-update from a search across Gmail, Outlook, and four more.
Fix 'OAuth Token Expired' (401) for Email
A 401 'token expired' means the access token aged out after about 3,600 seconds. Refresh it, tell it apart from a dead refresh token, and let the CLI prevent it.
Build a Meeting-Booking Assistant Agent
Build an AI scheduling agent on a Nylas agent account. It reads a request email, finds a time across timezones, books the event, and emails a confirmation.
Build an AI Customer-Support Inbox
Run an AI support agent on a dedicated agent account: read tickets, triage by sender and content, reply in-thread, escalate hard cases, and stay contained.
Provision Agent Accounts at Scale
Bulk-create agent accounts from a tenant list, make provisioning idempotent, apply shared guardrails, inventory the fleet, and tear down — all from the CLI.
Build a Lead-Capture & Qualification Agent
An AI agent reads inbound leads, qualifies each one, saves the good ones to a contacts directory, and notifies sales — fast enough to beat lead decay.
Build an Invoice-Intake Agent
An AI agent reads inbound invoices, downloads the PDF attachment, extracts vendor, amount, and due date, and routes a summary to accounting — hands-free.
Python smtplib Wrapper: Build or Skip It
Build a thin wrapper around smtplib.SMTP with TLS defaults, retries, and connection reuse in 35 lines, and learn when a CLI call beats maintaining one.
Extract Email Data from JSON with jq
jq recipes for email JSON: pull sender addresses, regex-scan addresses from any payload, group senders by domain, export CSV, and guard against empty input.
Gmail API Sandbox: Test Email Integrations
Gmail has no API sandbox. Compare the real options: a dedicated test account, the Amazon SES sandbox, fake SMTP inboxes, and nylas demo with sample data.
Password Reset Emails: Choosing an API
Password reset emails are latency-critical transactional sends. Compare SES, Postmark, SendGrid, and Nylas, meet Gmail's sender rules, and test the loop.
Build Reliable Email Automation: 5 Patterns
Email automation fails silently: expired tokens, rate limits, duplicate sends. Five patterns fix it: exit codes, retries, idempotency, drafts, audit logs.
Email Threads from Terminal: List, Read, Reply
List, read, and reply to email threads from the terminal with Nylas CLI. Group conversations by subject, navigate replies, and mark them as read in one command.
Manage Email Drafts from Terminal
Create, list, inspect, and send email drafts from the terminal. Use drafts as a safety net before any email goes out — works with Gmail, Outlook, and IMAP.
Email Auth: OAuth vs API Key vs App Password
Compare OAuth 2.0, API keys, and app-specific passwords for email API authentication. Security trade-offs, token lifetimes, provider support, and setup guides.
Manage a Shared Mailbox from Terminal
Read, send, and manage shared mailbox email from the command line. Switch between personal and team grants, list messages, and send replies as the team address.
Email to Slack Alerts from Terminal
Forward important emails to Slack channels automatically. Poll for new messages, filter by sender or subject, and post formatted alerts via incoming webhooks.
Back Up Email to JSON from Terminal
Export your entire mailbox to JSON files from the command line. Paginate through all messages, filter by date or folder, and automate daily backups with cron.
Automate Meeting Notes to Email
Record meetings, generate AI summaries from transcripts, and email notes to attendees automatically. Combines notetaker bots with scheduled email sends.
Summarize Email Threads with AI
Summarize long email threads with an LLM from the command line. Extract action items, decisions, and deadlines from threaded conversations in one pipeline.
Build an AI Email Auto-Responder
Build an AI auto-responder that reads incoming email, drafts context-aware replies with an LLM, and sends after human approval. Python and CLI pipeline.
Gmail Labels API: Create and Manage
Manage Gmail labels with the Gmail API. Create, list, modify, and apply labels to messages. Batch label operations, system vs user labels, and CLI alternatives.
Email Templates from the CLI
Create, manage, and send email templates from the command line. Variable substitution, HTML rendering, and reusable message patterns for outbound sends.
Move Emails Between Folders from CLI
Create folders, list folder contents, move emails between them, and rename or delete folders from the command line. Works across Gmail, Outlook, and IMAP.
Schedule Emails from Terminal
Schedule email sends for future delivery from the command line. Time-zone-aware scheduling, business-hours delivery, and batch queuing across Gmail and Outlook.
Delete and Archive Email from CLI
Delete, archive, and bulk-clean email from the command line. Remove individual messages, archive old threads, and manage trash across Gmail, Outlook, and IMAP.
Email Forwarding Rules: API Guide
Compare Gmail filter API, Microsoft Graph inbox rules, and CLI-based email rules for programmatic email routing. Create and manage rules across providers.
SendGrid vs Nylas: When to Use Each
SendGrid sends transactional email at scale. Nylas reads, sends, and syncs across 6 providers. Feature comparison, pricing, and a use-case decision guide.
Best Email API for Developers
Compare SendGrid, Mailgun, Amazon SES, Resend, Postmark, and Nylas for developer email. Pricing, features, deliverability, and use-case decision matrix.
Microsoft Graph Email API Quick Start
Send and read email with Microsoft Graph API. App registration, OAuth 2.0 scopes, delegated vs app-only auth, and error fixes for common 403 and 401 codes.
Outlook SMTP Settings: Server, Port, TLS
Outlook SMTP server smtp.office365.com on port 587 with STARTTLS. Modern Auth OAuth 2.0 requirements, Basic Auth removal timeline, and sending limits.
Send Email from Node.js
Send email from Node.js with Nodemailer SMTP, Gmail API client library, or CLI subprocess calls. Compare setup time, authentication, and provider support.
Build a Human-in-the-Loop Email Agent
Build an AI email agent with human approval gates. Classify messages, draft responses, queue for review, and send only after a human confirms each action.
Automate Email Reports from Terminal
Build automated daily and weekly email reports with cron, JSON output, jq pipelines, and shell scripts. Schedule inbox summaries and deliver by email.
Search Email from Terminal
Compare Gmail search operators, Graph API $filter, IMAP SEARCH, and Nylas CLI for searching email across providers from the terminal. Cross-provider syntax guide with examples.
Read Email from Your Terminal
Compare NeoMutt, aerc, and Nylas CLI for reading email in the terminal. Setup time, IMAP config, search, multi-provider support, and JSON scripting output.
AgentMail vs Nylas vs Cloudflare Email
Compare AgentMail, Cloudflare Email for Agents, and Nylas Agent Accounts. Feature matrix, pricing, MCP support, and a decision guide for AI agent email in 2026.
Cron Job Email Without Postfix
Send email alerts from cron jobs without Postfix, msmtp, or ssmtp. One CLI command replaces MAILTO plus a local MTA daemon. Disk, backup, and schedule examples.
Send Email with Attachments from CLI
Send files from the command line without MIME encoding, Postfix, or mutt config. One command attaches PDFs, CSVs, logs, and images across Gmail and Outlook.
PowerShell Email: Every Method Compared
Send email from PowerShell after Send-MailMessage deprecation. Compare Send-MgUserMail, Graph REST, MailKit, and CLI tools for scripts, reports, and CI/CD.
Email Prompt Injection Defense
Defend AI email agents against prompt injection attacks. Input separation, capability sandboxing, human-in-the-loop approvals, and audit logging patterns.
Send-MgUserMail: Graph Email in PowerShell
Send-MgUserMail requires 25+ lines, Azure AD app registration, and nested hashtables. Full Graph workflow plus a 1-command CLI alternative.
Send Email from Python: SMTP, API, and CLI
Send email from Python with smtplib SMTP, Gmail API with OAuth 2.0, or CLI subprocess calls. Compare setup time, security, and provider coverage for each.
Gmail SMTP Settings 2026: Ports, TLS, Auth
Gmail SMTP server smtp.gmail.com on port 587 with STARTTLS or port 465 with SSL. App password setup, OAuth 2.0 requirements, and sending limits for 2026.
Set Up an MCP Email Server in 5 Minutes
Connect AI agents to real email accounts through MCP. Install, configure, and verify an email MCP server for Claude Code, Cursor, and other AI coding tools.
Parse and Download Email Attachments
Parse email attachments with Python imaplib, Node.js Gmail API, or a single CLI command. Compare MIME parsing, base64url decoding, and provider gotchas.
How Apple's New CEO Can Automate iCloud Email
John Ternus takes over as Apple CEO in September 2026. Connect iCloud to AI agents that triage email, draft replies, optimize calendar across 25 time zones, and protect focus time.
Gmail CLI: Send Gmail from Command Line
Send Gmail from command line with Nylas CLI. Skip Gmail API client code, SMTP passwords, Postfix, and sendmail. Supports CC/BCC, scheduling, tracking, and JSON.
Gmail API Search Query Examples
Gmail API search query examples for q, labels, categories, date filters, attachments, and rfc822msgid. Compare direct API code with supported CLI filters.
Email Signature Extraction from the CLI
Create, list, attach, and extract email signatures with Nylas CLI for outbound templates and contact enrichment workflows.
Mailtrap Alternative for Real Inbox Testing
Compare Mailtrap, Mailosaur, and Nylas Agent Accounts for testing transactional email flows with real inbox delivery.
GitHub Actions Email Notifications
Send GitHub Actions email notifications on failed builds, deploys, and test runs with Nylas CLI and encrypted workflow secrets.
Parse Inbound Email Webhooks
Register inbound email webhooks, verify signatures, and parse message.created payloads into JSON your app can process.
Check Calendar Availability from Terminal
Check calendar availability and free/busy windows from the terminal with Nylas CLI before creating meetings or booking rooms.
Cypress Email Testing
Test password resets, magic links, and OTP emails in Cypress with a real inbox, Nylas CLI JSON output, and isolated agent accounts.
Best Email Infrastructure for AI Agents
Compare Agent Accounts, provider APIs, IMAP, SMTP, MCP, and CLI tools for agent email. Choose a stack for reads, sends, audits, and scale.
Send-MgUserMail vs Send-MailMessage
Compare PowerShell email options in 2026: obsolete SMTP, Microsoft Graph setup, one CLI send path, and Agent Account senders.
Send Email from Python Without SMTP
Send email from Python without SMTP passwords or Postfix. Use one CLI command for OAuth-backed delivery or app-owned Agent Account sends.
Secure OpenClaw Email Access
Secure OpenClaw email access with plugin allowlists, scoped Nylas credentials, policy rules, send approvals, and local MCP or exec boundaries.
iCloud Mail API Alternative
Compare iCloud Mail access options for developers: IMAP settings, app-specific passwords, aliases, and a CLI path for search and send workflows.
Test Email Webhooks Locally
Test Nylas email webhooks locally with tunnel setup, signed payload checks, trigger discovery, and replayable fixtures before shipping handlers.
MCP Email Server Security Checklist
Secure MCP email servers with least privilege, local server checks, token boundaries, webhook verification, and write-action controls.
Outlook MCP Server for AI Agents
Compare Outlook MCP options for AI agents: Microsoft 365 connectors, Graph API tools, and local CLI MCP for email and calendar workflows.
ChatGPT Gmail Connector vs MCP
Compare ChatGPT Gmail apps, custom MCP apps, and local CLI MCP for Gmail workflows. Pick the right path for search, sync, and write actions.
Gmailify and POP3 Alternatives
Gmailify and Gmail POP fetching are ending for new users after Q1 2026. Compare forwarding, IMAP, mobile Gmail, and CLI inbox access.
Google Workspace MCP for AI Agents
Compare Google Workspace MCP with multi-provider CLI commands and Agent Accounts for AI agents that need user mail or app-owned inboxes.
Agent-to-Agent Email Communication
Two AI agents, two managed inboxes, one protocol. Create agent accounts with Nylas CLI and exchange structured JSON messages — no shared database needed.
Create an AI Agent Email Identity
Set up a managed email identity for an AI agent. Create a dedicated inbox, send and receive in 2 minutes — no OAuth setup or third-party mailbox needed.
Gmail API Pagination and Sync Explained
Gmail API pagination with nextPageToken, incremental sync with historyId, maxResults defaults, and 429 rate limit recovery. Step-by-step code for every pattern.
Replace Send-MgUserMessage
Migrate from Microsoft Graph PowerShell cmdlets to Nylas CLI. Side-by-side before/after examples for Send-MgUserMessage, New-MgMessage, and Get-MgUser.
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. Full code included.
Recall.ai vs Nylas for AI Agent Email
Compare Recall.ai and Nylas CLI for AI agent communication. One handles meeting recordings, the other handles email and calendar. Pick the right tool.
Best Email API for AI Agents: 6 Compared (2026)
Compare Gmail API, Microsoft Graph, SendGrid, Mailgun, Nylas, and raw IMAP for giving AI agents email access. Includes a 14-criteria feature comparison.
iCloud Mail CLI: Send Email from Terminal
Use an iCloud Mail CLI to send email from terminal without SMTP config or app passwords. Supports iCloud custom domains and Hide My Email aliases in scripts.
Outlook CLI: Send Email from Terminal
Use an Outlook CLI to send Microsoft 365 email from terminal without Graph API setup, Azure AD registration, MSAL token code, or SMTP config in scripts.
Yahoo Mail CLI: Send Email from Terminal
Use a Yahoo Mail CLI to send email from terminal without SMTP config or app passwords. Send scheduled messages and CC/BCC over HTTPS with OAuth in scripts.
Receive Email Without an SMTP Server
Create a managed agent email account and process incoming messages via webhooks — no Postfix, no MX records. Uses nylas agent create and monitor commands.
Extract OTP Codes from Email — Skip the Inbox
Pull 2FA verification codes from email without opening your inbox. The nylas otp get command copies the latest code to your clipboard across all providers.
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)
Register Nylas as an MCP server in manus-mcp-cli so your Manus agents can send email, search the inbox, and manage calendar events inside 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 CSV contact list, review each AI-generated draft, then approve and batch-send.
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. Break down volume by sender, track response times, find your peak hours, and generate weekly reports.
Manus AI Email Research Agent
Use Manus AI to deep-search your inbox, summarize long email threads, extract decisions and action items, and compile research reports with Nylas CLI.
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 backend, different agent runtimes used.
Build an Email Support Agent with Manus AI
Build a Manus AI support agent that polls a shared inbox, matches tickets to knowledge base articles, drafts context-aware replies, and escalates risk.
Reach Inbox Zero with Manus AI
Reach inbox zero with Manus AI and Nylas CLI. Triage unread messages by urgency, auto-categorize threads, draft replies, and bulk-archive noise in one go.
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.
Export Email Data to Dynamics 365
Sync inbox data to Dynamics 365 Contacts, Accounts, and Activities. Map fields accurately, import via CSV or Dataverse Web API, and schedule CLI syncs.
Automate Email Draft Creation and Review
Generate pre-filled email drafts from templates with conditional logic. Batch-create follow-ups, route drafts for review, and schedule approved sends.
Build Shell-Integrated Email Autocomplete
Build fuzzy email autocomplete for bash, zsh, and fish shells. Integrates fzf, rapidfuzz, or Fuse.js with contact frequency ranking and custom keybindings.
Map Communication Patterns Between Orgs
Map inter-org communication networks from email data. Identify key stakeholders, score relationship strength, and detect single-threaded risk via graphs.
Import Email into Neo4j for Graph Analysis
Import email sender-recipient relationships into Neo4j or NetworkX. Write Cypher queries for shortest paths, community detection, and bridge connector analysis.
CLI Mail Merge with Send-Time Optimization
Run mail merge from your terminal. Variable substitution, conditional content blocks, timezone-aware scheduling, send throttling, and deliverability safeguards.
Parse Email Signatures for Contact Enrichment
Extract job titles, phone numbers, LinkedIn URLs, and company info from email signatures. Regex patterns, signature block detection, and cross-referencing.
Reconstruct Org Charts from Email CC Patterns
Infer reporting lines, detect managers from CC behavior, and estimate seniority from email response patterns. Build org charts from inbox data with Nylas CLI.
Group Inbox by Corporate Email Domain
Organize your inbox by sender domain to find which companies email you most. Filter out freemail providers, map subsidiaries to parent orgs, and export to CSV.
CRM Email Workflows — Organize, Enrich, Act
Turn your inbox into CRM intelligence. Group emails by company, build contact hierarchies, enrich profiles, and automate outbound — all from terminal.
Export Email Data to Pipedrive
Export email and contact data from Nylas CLI into Pipedrive. Map to Persons, Organizations, Deals, and Activities. CSV and REST API with Python and TypeScript.
Export Email Data to HubSpot
Export email and contact data from Nylas CLI into HubSpot. Map to Contacts, Companies, and Engagements. CSV import, API v3 sync, Python and TypeScript.
Export Email Data to Salesforce
Export email and contact data from Nylas CLI into Salesforce. Map to Leads, Contacts, Accounts, and Tasks. CSV and REST API examples in Python and TypeScript.
CI/CD Email Alerts with PowerShell
Send build failure alerts, deployment reports, and test results from GitHub Actions, Azure DevOps, and Jenkins pipelines using PowerShell and Nylas CLI.
Monitor Your Inbox with PowerShell
Build inbox monitoring and alert scripts with PowerShell and Nylas CLI. Poll for new emails, watch for specific senders, trigger Teams webhooks on matches.
Office 365 Email from PowerShell
Manage Office 365 email from PowerShell without Azure app registration or Graph setup. Authenticate, list, search, read, and send O365 mail with Nylas CLI.
Automated Email Reports with PowerShell
Build automated email reporting with Nylas CLI and PowerShell. Query messages, aggregate with Group-Object, generate HTML reports, and schedule with cron.
Automate Email and Calendar in PowerShell
Cross-provider email and calendar automation in PowerShell using Nylas CLI. Read emails, create events, check availability, and schedule meetings from scripts.
Download Email Attachments in PowerShell
Download and process email attachments from any provider using Nylas CLI in PowerShell. Filter by file type, bulk download, and build attachment pipelines.
Read and Search Email in PowerShell
Read, search, and filter email from PowerShell using Nylas CLI. List unread, search by sender, extract bodies, pipe through Where-Object, and export to CSV.
Send-MailMessage Deprecated: PowerShell 7 Fix
Send-MailMessage is deprecated in PowerShell 7. Side-by-side migration to nylas email send for every common pattern, plus Basic Auth and TLS shutdown fixes.
Send Email from PowerShell
Send email from PowerShell using Nylas CLI. Replaces deprecated Send-MailMessage with OAuth2, HTML bodies, scheduling, and multi-recipient scripts.
Connect Voice Agents to Email and Calendar
Bridge LiveKit, Vapi, or any voice agent framework to email and calendar using Nylas CLI as a subprocess. Complete Python examples for send, read, and schedule.
Fix UTF-8 BOM, Zero-Width Spaces, and MIME Bugs
Diagnose invisible Unicode characters that break email filters. UTF-8 BOM removal, zero-width space detection, quoted-printable decoding, and charset fixes.
Design Email Systems for AI Agents: Structured Formats and Machine-Readable Templates
Design email workflows that AI agents parse reliably. Structured JSON output, machine-readable templates, agent-friendly headers, and MCP integration.
Email CLI Tools Compared
Compare 7 email CLI tools: Nylas CLI, Himalaya, aerc, NeoMutt, msmtp, mailx, and swaks. Covers OAuth, JSON, send without SMTP, and AI agents.
SPF, DKIM, DMARC: Debug Email Deliverability
Check SPF records with dig, verify DKIM selectors, test DMARC policies, inspect auth headers, and diagnose bounce handling — all from your command line.
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. Covers signups, OTP verification, agent-to-agent messaging, and building 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.
Install the OpenClaw Nylas Plugin
Install @nylas/openclaw-nylas-plugin to add native email, calendar, and contact tools to OpenClaw. Covers API key setup, grant discovery, and plugin vs exec.
Exchange CLI: Read Emails from Terminal
Use an Exchange CLI to list, search, and read Exchange Online or on-prem email from terminal. Skip EWS, PowerShell modules, Graph API setup, and SDK code.
IMAP CLI: Read Emails from Any Server
Use an IMAP CLI to list, search, and read email from Fastmail, Zoho, ProtonMail Bridge, Dovecot, and other IMAP servers from terminal and scripts today.
iCloud Mail CLI: Read Emails from Terminal
Use an iCloud Mail CLI to list, search, and read iCloud emails from terminal. Skip raw IMAP setup, app passwords, and Hide My Email parsing in scripts.
Yahoo Mail CLI: Read Emails from Terminal
Use a Yahoo Mail CLI to list, search, and read Yahoo emails from terminal. Skip IMAP setup, app passwords, and manual OAuth wiring for scripts and agents.
Outlook CLI: List Emails from Terminal (No Graph API)
Use an Outlook CLI to read, search, and filter Microsoft 365 email from terminal. Skip Azure AD app registration, MSAL, and Graph API setup.
Gmail CLI: List Gmail Emails from Terminal
Use a Gmail CLI to list, search, and read Gmail emails from your terminal. No Google Cloud project, Gmail API setup, or OAuth consent screen.
Create a Manus Skill: Email & Calendar Workflow
Create a Manus Skill that installs Nylas CLI in the sandbox and teaches your agent email, calendar, and contact workflows via SKILL.md and setup scripts.
Connect OpenClaw to Nylas for Email and Calendar
Use OpenClaw exec to run Nylas CLI for inbox access, email sending, and calendar scheduling. Covers TOOLS.md configuration, exec approvals, and PATH setup.
E2E Email Testing with Playwright
Test password reset, invitation, and verification emails end-to-end. Poll with Nylas CLI, verify content in Playwright, and click links. No Gmail config needed.
AI Agent CLI for Email and Calendar
Build an AI agent CLI for email and calendar with Nylas CLI subprocess commands, JSON output, and no provider-specific API clients.
Send Email from Linux Command Line Without SMTP Server or Postfix
Send email without an SMTP server, Postfix, or sendmail from Linux, Ubuntu, macOS, or Windows. One CLI command handles OAuth for Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP.
Run nylas otp watch --help for full help output.