KosmoKrator

communication

Zoho Mail MCP Integration for OpenAI Agents SDK

Connect Zoho Mail to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write Manual OAuth token auth

Connect Zoho Mail to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Zoho Mail MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "mcpServers": {
    "kosmokrator-zoho-mail": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=zoho-mail",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=zoho-mail --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Zoho Mail instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Zoho Mail Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Zoho Mail integration catalog.

MCP toolSource functionTypeDescription
integration__zoho_mail__zohomail_list_messages zoho-mail.zohomail_list_messages Read List email messages in a Zoho Mail folder. Returns message summaries including sender, subject, and date.
integration__zoho_mail__zohomail_get_message zoho-mail.zohomail_get_message Read Get a single email message from Zoho Mail by ID. Returns full message content, headers, and attachment info.
integration__zoho_mail__zohomail_send_message zoho-mail.zohomail_send_message Write Send a new email message via Zoho Mail. Supports to, cc, bcc, subject, and HTML or plain text content.
integration__zoho_mail__zohomail_list_folders zoho-mail.zohomail_list_folders Read List all email folders in a Zoho Mail account, including Inbox, Sent, Drafts, Trash, and custom folders.
integration__zoho_mail__zohomail_list_tasks zoho-mail.zohomail_list_tasks Read List tasks from Zoho Mail. Returns task details including title, status, due date, and priority.
integration__zoho_mail__zohomail_get_current_user zoho-mail.zohomail_get_current_user Read Get the current user's Zoho Mail account information. Returns account IDs needed for other Zoho Mail operations.

Related Zoho Mail Pages