Zoho Mail Integration
Manage Zoho Mail accounts, folders, messages, labels, search, and sending
The Zoho Mail integration provides access to manage Zoho Mail accounts, folders, messages, labels, search, and sending through the Integrate MCP server.
Installation
The Zoho Mail integration is included with the SDK:
import { zohoMailIntegration } from "integrate-sdk/server";Setup
1. Create a Zoho Mail OAuth App
- Go to Zoho API Console
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Zoho Mail integration to your server configuration. The integration automatically reads ZOHO_MAIL_CLIENT_ID and ZOHO_MAIL_CLIENT_SECRET from your environment variables:
import { createMCPServer, zohoMailIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
zohoMailIntegration({
scopes: ["ZohoMail.accounts.READ", "ZohoMail.messages.ALL", "ZohoMail.folders.ALL"], // Optional
}),
],
});You can override the environment variables by passing explicit values:
zohoMailIntegration({
clientId: process.env.CUSTOM_ZOHO_MAIL_ID,
clientSecret: process.env.CUSTOM_ZOHO_MAIL_SECRET,
scopes: ["ZohoMail.accounts.READ", "ZohoMail.messages.ALL", "ZohoMail.folders.ALL"], // Optional
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("zoho_mail");
const result = await client.zoho_mail.listAccounts({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, zohoMailIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [zohoMailIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
ZohoMail.accounts.READZohoMail.messages.ALLZohoMail.folders.ALL
Tools
zoho_mail_list_accounts
Mail list accounts
No parameters.
zoho_mail_list_folders
Mail list folders
Prop
Type
zoho_mail_list_messages
Mail list messages
Prop
Type
zoho_mail_get_message
Mail get message
Prop
Type
zoho_mail_send_message
Mail send message
Prop
Type
zoho_mail_search_messages
Mail search messages
Prop
Type
zoho_mail_list_labels
Mail list labels
Prop
Type
Notes
- Category: Communication
- Authentication mode: OAuth