@epst

EPST

Email for AI agents through the hosted EPST MCP server, with one API key.

当前版本
v0.1.1
bundle-plugin社区source-linked

EPST

Email for AI agents, with one API key. Read, search, draft, send, and reply to email through EPST.

EPST provides an email domain such as {your-domain}.epst.cc. This package connects an agent to your existing EPST mailbox through the hosted MCP server. It contains connection settings and an email skill; there is no local email server, build step, or separate MCP process to run.

The current integration targets OpenClaw / ClawHub. The MCP configuration and skill are kept separate so future agent integrations can reuse them. Other agent clients are not yet tested by this project.

Install in OpenClaw

Tested with OpenClaw 2026.9.4. You need an EPST account with a mailbox and an API key. The API key is the Secret Key from your EPST account, not a separate plugin credential.

Run the commands below on the machine or inside the container that runs your OpenClaw Gateway. They assume OpenClaw's default profile; for a named profile, use that profile consistently and put .env in its state directory.

  1. Add the following line to ~/.openclaw/.env, preserving any existing settings:

    EPST_API_KEY=your_epst_secret_key
    

    If the OpenClaw Gateway runs in a container or on another machine, set this environment variable there. Keep the key out of this repository and chat messages.

  2. Install the package from ClawHub:

    openclaw plugins install clawhub:@epst/epst --accept-capabilities
    openclaw plugins enable epst
    

    Alternatively, install from a reviewed local checkout:

    git clone https://github.com/Loookup/epst.git
    openclaw plugins install ./epst --force --accept-capabilities
    openclaw plugins enable epst
    

    --force confirms the local source; --accept-capabilities accepts the package's email skill and MCP connection. No npm install or build is needed.

  3. Register the connection, then restart the Gateway:

    openclaw mcp set epst '{"transport":"streamable-http","url":"https://epst.cc/mcp","headers":{"Authorization":"Bearer ${EPST_API_KEY}"}}'
    openclaw gateway restart
    

    Keep the single quotes and ${EPST_API_KEY} exactly as shown; OpenClaw reads the key from its environment. This step is required with OpenClaw 2026.9.4 because its bundle loader leaves header placeholders unresolved. Registering the same epst connection in OpenClaw's own configuration enables environment substitution without storing the key in the package.

  4. Check that OpenClaw recognizes the package and skill:

    openclaw plugins inspect epst
    openclaw skills info epst-email
    openclaw mcp probe epst
    

    The probe connects and lists available tools without sending email. Then start a new agent session and ask:

    Show my available EPST mailboxes. Do not send any email.

    The agent should call epst__get_mail_context. A successful mailbox response verifies the connection and key; plugin inspection alone does not.

OpenClaw's coding and messaging tool profiles support bundle MCP tools. If you use a custom tool allowlist, include epst__* alongside your existing entries. An explicit deny rule still takes precedence.

Use

  • “Summarize my unread EPST email.”
  • “Draft a reply to this email, but do not send it.”
  • “Send an email to alex@example.com with subject ‘Meeting’ and body ‘Can we meet tomorrow?’”
  • “Check the delivery status of the email you just sent.”

The skill uses the mailbox addresses and tool definitions returned by EPST. Tools available to the agent depend on the permissions of your API key. Reading a message does not automatically mark it as read. A saved draft is not sent until you request it.

This package does not create background inbox polling or notifications. Large attachment uploads require an agent client capable of completing EPST's HTTP upload flow.

MCP connection

  • Endpoint: https://epst.cc/mcp
  • Transport: Streamable HTTP
  • MCP requests: POST /mcp (handled automatically by the client)
  • Authentication: Authorization: Bearer <EPST_API_KEY>

The server allows unauthenticated MCP initialization, health checks, and tool discovery so clients can inspect the integration. Every operation that accesses a mailbox or performs an email action still requires a valid EPST API key. Create one at epst.cc; never include it in a URL or commit it to the repository.

The shared connection is declared in .mcp.json. The registration step above puts the same connection in OpenClaw's configuration, where ${EPST_API_KEY} is substituted from its environment. The accompanying email skill describes mailbox selection, drafting, authorized sending, retries, and handling untrusted email content.

See the EPST MCP documentation for the service interface. Other MCP clients may require different configuration syntax; this repository currently supplies OpenClaw installation instructions only.

Troubleshooting

  • Skill unavailable: ensure EPST_API_KEY is set in the Gateway's environment and restart the Gateway.
  • No EPST tools: check that epst is enabled, your tool policy allows epst__*, and you started a new session after installation.
  • Authentication failure: complete the openclaw mcp set epst step above, use your existing EPST Secret Key, and verify that it is active. Do not paste it into chat or an issue.
  • Missing mailbox or operation: check the mailbox access and permissions assigned to the key in EPST.
  • Rate limit or uncertain send result: follow the server's retry guidance. Retrying a send must preserve its original idempotency key and payload.

To remove the integration, run openclaw mcp unset epst and openclaw plugins uninstall epst, then restart the Gateway. Remove EPST_API_KEY from your environment if it is no longer used.

Package layout

.codex-plugin/plugin.json     Bundle manifest recognized by OpenClaw
openclaw.plugin.json          ClawHub package registration metadata
.mcp.json                     Hosted MCP connection; no embedded credential
skills/epst-email/SKILL.md     Shared email instructions
assets/icon.png               EPST icon
docs/PUBLISHING.md             Release instructions for maintainers

The .codex-plugin directory identifies a supported bundle format; this package has no JavaScript runtime entry point. See publishing instructions for validation and ClawHub release steps.

Data and license

The agent connects directly to EPST. Email content may also be processed by your agent and its model provider when you ask the agent to work with it. This package adds no separate telemetry or background service.

The integration files are licensed under MIT. The hosted EPST service is governed by its terms and privacy policy.

源码与版本

源码仓库

Loookup/epst

打开仓库

源码提交

9443b88279f732a842cbf7dff1334d36e798f006

查看提交

安装命令

openclaw plugins install clawhub:@epst/epst

元数据

  • 包名: @epst/epst
  • 创建时间: 2026/09/16
  • 更新时间: 2026/09/16
  • 执行代码: 否
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 0.1.1
  • 插件 API 范围: -
  • 标签: latest
  • 文件数: 9