KosmoKrator

communication

Zoho Mail MCP Integration for Codex

Connect Zoho Mail to Codex 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 Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with --write=deny so Codex can inspect read-capable tools without receiving write access by default.

Zoho Mail MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "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 Codex

Codex 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