# SirGreed808/zoho-mail-mcp [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/SirGreed808/zoho-mail-mcp  
**GitHub Stars:** 1  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sirgreed808-zoho-mail-mcp

## Description
MCP server for Zoho Mail. Read, search, and send email from Claude.

## Tools
Capabilities this server exposes over MCP:

- **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

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/SirGreed808/zoho-mail-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Sign in:

```sh
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. Run:

```sh
curl -X GET https://mail.zoho.com/api/accounts \
  -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN"
```

3. Install:

```sh
git clone https://github.com/SirGreed808/zoho-mail-mcp
```

4. Install:

```sh
cd zoho-mail-mcp
```

5. Install:

```sh
npm install
```

6. Add to Claude Code:

```sh
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
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/sirgreed808-zoho-mail-mcp/readme_

