Zoho Mail MCP logo

Zoho Mail MCP

by SirGreed808

Read, search, and send Zoho Mail through MCP using OAuth and the Zoho Mail REST API.

Install Zoho Mail MCP

Run the project’s own setup commands, in order.

Setup steps from the project

SirGreed808/zoho-mail-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Sign in
    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"
    
  2. 2. Run
    curl -X GET https://mail.zoho.com/api/accounts \
      -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN"
    
  3. 3. Install
    git clone https://github.com/SirGreed808/zoho-mail-mcp
    
  4. 4. Install
    cd zoho-mail-mcp
    
  5. 5. Install
    npm install
    
  6. 6. 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
    

Overview

The SirGreed808/zoho-mail-mcp MCP server connects MCP clients to a Zoho Mail account through the Zoho Mail REST API. It lists inbox messages, searches by keyword or sender, reads message bodies, and sends mail from a configured address. OAuth credentials and a Zoho account ID are supplied through environment variables, while access tokens refresh automatically. Use it when an agent needs direct Zoho Mail access without browser automation, IMAP, or SMTP.

Use cases

  • List recent Zoho Mail inbox messages
  • Search Zoho Mail by sender or subject
  • Read a message body from search results
  • Send email from a verified Zoho address

Key features

  • Inbox message listing
  • Keyword, sender, and subject search
  • Full email body retrieval
  • Email sending
  • Automatic OAuth access-token refresh
  • Zoho Mail REST API access

Tools4

What Zoho Mail MCP lets your agent do. Expand a tool for its parameters.

Self-reported~69 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/23 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Zoho Mail MCP works

What SirGreed808/zoho-mail-mcp MCP server does

SirGreed808/zoho-mail-mcp MCP server gives an MCP client access to selected Zoho Mail operations. It connects to a Zoho Mail account through the REST API rather than controlling the web interface. The available actions cover inbox discovery, message search, message reading, and outbound email.

The list_inbox tool returns recent inbox entries with the sender, subject, date, message ID, and folder ID. search_emails accepts a keyword, sender email address, or subject fragment. read_email retrieves the complete body of a message, but requires both its messageId and folderId. send_email sends a message using the configured sender address.

How it works

The server authenticates with Zoho OAuth. A self-client application is created in the Zoho API Console, then granted read and create access for messages along with folder and account read access. The resulting authorization code is exchanged for a refresh token. The Zoho account ID is obtained separately from the accounts API and passed to the server at runtime.

When the server needs an access token, it refreshes the token automatically. Agents can therefore use the configured MCP tools without manually renewing short-lived access tokens. Search and inbox results expose the identifiers needed for a later read_email call, so a typical workflow is to find a message first, then retrieve its body using both returned IDs.

Setup and configuration

Running SirGreed808/zoho-mail-mcp requires a Zoho Mail account and Node.js 18 or newer. After creating the OAuth self-client, request these scopes: ZohoMail.messages.READ, ZohoMail.messages.CREATE, ZohoMail.folders.READ, and ZohoMail.accounts.READ. The generated grant code expires after 10 minutes, so exchange it promptly for the long-lived refresh token.

Clone the repository, enter its directory, and run npm install. Configure the MCP client to start index.js with these variables:

  • ZOHO_CLIENT_ID: OAuth application client ID
  • ZOHO_CLIENT_SECRET: OAuth application client secret
  • ZOHO_REFRESH_TOKEN: OAuth refresh token
  • ZOHO_ACCOUNT_ID: Zoho Mail account ID
  • ZOHO_SENDER: address used for outgoing messages

ZOHO_SENDER must be a verified address or alias belonging to the Zoho account. The README provides a Claude Code command that registers the server with these values and an absolute path to index.js.

Tools and capabilities

  • List recent inbox messages and their identifiers.
  • Search messages by keyword, sender address, or subject text.
  • Read a full message body with its message and folder identifiers.
  • Send email from the configured Zoho address.
  • Refresh OAuth access tokens automatically during use.

Limitations and notes

The implementation uses the Zoho Mail REST API only. It does not provide IMAP or SMTP connectivity. Reading a message requires both messageId and folderId; these values are available from inbox and search results. Sending is restricted to the configured sender address, which must be verified by Zoho.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Zoho Mail MCP

SirGreed808/zoho-mail-mcp is an MCP server that connects AI clients to Zoho Mail through its REST API. Its main tools list inbox messages, search emails, read full message bodies, and send email from a configured verified address. It uses OAuth credentials and supports automatic access-token refresh.

Install it by cloning the repository, running `npm install`, and registering `index.js` with your MCP client. Before starting it, create a Zoho OAuth self-client, obtain a refresh token and account ID, and provide the five required environment variables.

It needs `ZOHO_CLIENT_ID`, `ZOHO_CLIENT_SECRET`, `ZOHO_REFRESH_TOKEN`, `ZOHO_ACCOUNT_ID`, and `ZOHO_SENDER`. The sender must be a verified Zoho Mail address or alias on the configured account.

Yes, it can read the full body when you provide both the message ID and folder ID. Those identifiers are returned by `list_inbox` and `search_emails`, so use one of those tools before calling `read_email`.

No, it uses the Zoho Mail REST API only. The documented implementation does not provide IMAP or SMTP connectivity.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewZoho Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sirgreed808-zoho-mail-mcp?style=directory)](https://allmcps.com/mcp/sirgreed808-zoho-mail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/sirgreed808-zoho-mail-mcp"><img src="https://allmcps.com/api/badge/sirgreed808-zoho-mail-mcp?style=directory" alt="Zoho Mail MCP on AllMCPs" /></a>