Zoho Mail MCP Server
Allows reading, sending, searching, replying to, and deleting emails in Zoho Mail, with folder listing and OAuth2 authentication.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Zoho Mail MCP Server
An MCP (Model Context Protocol) server that connects AI assistants to Zoho Mail. Read, search, send, schedule, organize, and download mail through the official Zoho Mail REST API.
Tools
Tool | Description |
| Inspect accessible accounts and the selected account |
| List mail folders with unread/total counts |
| Create, rename, move, mark read, empty, or delete folders |
| List labels with colors and IDs |
| Create, update, or delete labels |
| List emails with rich filtering, sorting, and pagination |
| Read the full content of a specific email |
| Search with plain text or Zoho's advanced syntax |
| Send or schedule email with receipts and attachments |
| Save a draft or template, including reply threading |
| Reply or reply-all immediately or on a schedule |
| Bulk read, move, flag, label, archive, and spam actions |
| List attachment names, sizes, and IDs |
| Safely download an attachment locally |
| Trash or permanently delete with explicit confirmation |
Related MCP server: Zoho Mail MCP Server
Setup
1. Create a Zoho API Client
Go to the Zoho API Console (use
.comfor US datacenter)Click Add Client > Self Client
Note your Client ID and Client Secret
2. Generate a Refresh Token
Run the interactive setup helper:
bun run setup.tsOr manually:
In the Self Client, generate a grant code with these scopes:
ZohoMail.accounts.READ,ZohoMail.folders.ALL,ZohoMail.messages.ALL,ZohoMail.tags.ALLSet duration to 10 minutes, add a description, and click Create
Copy the generated code and exchange it using the setup script
3. Verify Credentials
ZOHO_CLIENT_ID=your_id ZOHO_CLIENT_SECRET=your_secret ZOHO_REFRESH_TOKEN=your_token bun run setup.ts --verify4. Configure Your MCP Client
Claude Code (~/.claude.json)
{
"mcpServers": {
"zoho-mail": {
"command": "bun",
"args": ["run", "/path/to/zoho-mail-mcp/src/index.ts"],
"env": {
"ZOHO_CLIENT_ID": "your_client_id",
"ZOHO_CLIENT_SECRET": "your_client_secret",
"ZOHO_REFRESH_TOKEN": "your_refresh_token",
"ZOHO_DATACENTER": "eu"
}
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"zoho-mail": {
"command": "bun",
"args": ["run", "/path/to/zoho-mail-mcp/src/index.ts"],
"env": {
"ZOHO_CLIENT_ID": "your_client_id",
"ZOHO_CLIENT_SECRET": "your_client_secret",
"ZOHO_REFRESH_TOKEN": "your_refresh_token",
"ZOHO_DATACENTER": "eu"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | OAuth2 Client ID from Zoho API Console |
| Yes | OAuth2 Client Secret |
| Yes | OAuth2 Refresh Token (generated via setup) |
| No | Zoho datacenter: |
| No | Select a specific accessible account ID |
| No | Select an account by primary address or alias |
| No | Per-request timeout; defaults to |
| No | Network/429/5xx retries; defaults to |
| No | Local request throttle; defaults to |
Features
OAuth2 with serialized auto-refresh - concurrent requests share token refreshes
Resilient HTTP client - timeouts, exponential retry,
Retry-After, and structured Zoho errorsMulti-datacenter and multi-account support - route to eight Zoho regions and select the mailbox explicitly
Safe destructive operations - permanent deletion, folder emptying, and overwrites require confirmation
Rich search - plain text, exact phrases, fields, folders, labels, dates, flags, attachments, and conversations
Mailbox workflows - drafts, templates, scheduling, reply-all, attachments, labels, folders, and bulk updates
HTML to plain text - email content is converted to clean plain text for AI consumption
Search behavior
search_emails translates normal text to Zoho's required search syntax. For example, quarterly report searches for both words across the entire message. Use exactPhrase=true for an exact phrase, select a field such as subject or sender, or pass a complete expression such as subject:Invoice::has:attachment with rawSyntax=true.
Development
bun install
bun run typecheck
bun testRequirements
Bun runtime
A Zoho Mail account with API access
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Bring Gmail, Outlook, iCloud Mail, Yahoo Mail, Fastmail and other IMAP mailboxes together. Search connected email, including semantic search; cached or indexed results may be incomplete or stale. Read messages and attachments, create drafts, send or reply when requested, and manage rules for new mail. Separate permissions control reading, attachments, drafts, sending and mailbox changes.
Connect any mailbox to Claude, ChatGPT & AI: read, send, reply, schedule & search emails.
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, search, send, and reply to Zoho Mail via IMAP/SMTP using an application-specific password.1MIT
- AlicenseNot gradedqualityCmaintenanceProvides full access to Zoho Mail accounts, enabling email search, read, send, reply, thread management, folder/label operations, and more via 14 tools.MIT
- FlicenseCqualityDmaintenanceEnables AI assistants to manage Zoho Mail accounts, including sending/receiving emails, folder and label management, organization administration, and productivity tools like tasks and notes.782-
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to one or more Zoho Mail accounts, enabling read, send, search, reply, and delete operations directly from an AI workflow. Multiple mailboxes can run from a single lightweight process to reduce memory usage.MIT