zoho-mail-mcp
MCP server for Zoho Mail — read, search, and send email via Claude. Supports listing inbox, searching by keyword or sender, reading full message bodies, and sending HTML email.
README
zoho-mail-mcp
A Model Context Protocol server for Zoho Mail. Lets Claude (or any MCP client) read, search, and send email from a Zoho Mail account without browser automation.
No equivalent exists in the official MCP registry — this fills that gap.
Tools
| Tool | Description |
|---|---|
list_inbox |
List recent inbox messages — returns sender, subject, date, messageId, folderId |
search_emails |
Search by keyword, sender email, or subject fragment |
read_email |
Read full email body given a messageId and folderId |
send_email |
Send an email from your configured sender address |
Prerequisites
- A Zoho Mail account
- Node.js 18+
Setup
1. Create a Zoho OAuth app
- Go to Zoho API Console
- Create a Self Client application
- Under Generate Code, add these scopes:
ZohoMail.messages.READ,ZohoMail.messages.CREATE,ZohoMail.folders.READ,ZohoMail.accounts.READ - Set expiry to 10 minutes, add a description, click Create
- Copy the generated
client_id,client_secret, and grantcode
2. Exchange the grant code for a refresh token
Run immediately (grant code expires in 10 minutes):
curl -X POST https://accounts.zoho.com/oauth/v2/token \
-d "grant_type=authorization_code" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "code=YOUR_GRANT_CODE"
Save the refresh_token from the response — it doesn't expire.
3. Get your account ID
curl -X GET https://mail.zoho.com/api/accounts \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN"
Use the accountId value from the first object in data[].
4. Install
git clone https://github.com/SirGreed808/zoho-mail-mcp
cd zoho-mail-mcp
npm install
5. Add to Claude Code
claude mcp add --scope user \
-e "ZOHO_CLIENT_ID=..." \
-e "ZOHO_CLIENT_SECRET=..." \
-e "ZOHO_REFRESH_TOKEN=..." \
-e "ZOHO_ACCOUNT_ID=..." \
-e "ZOHO_SENDER=you@yourdomain.com" \
zoho-mail -- node /absolute/path/to/zoho-mail-mcp/index.js
ZOHO_SENDER must be a verified address or alias on the account.
Environment Variables
| Variable | Description |
|---|---|
ZOHO_CLIENT_ID |
OAuth app client ID |
ZOHO_CLIENT_SECRET |
OAuth app client secret |
ZOHO_REFRESH_TOKEN |
Long-lived refresh token (from step 2) |
ZOHO_ACCOUNT_ID |
Zoho Mail account ID (from step 3) |
ZOHO_SENDER |
Email address to send from |
Notes
- Access tokens are refreshed automatically — no manual intervention needed
read_emailrequires bothmessageIdandfolderId, both returned bylist_inboxandsearch_emails- Only REST API — no IMAP/SMTP
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.