AI Agent Hub
Back to skills
TokenMail Agent Messaging icon

TokenMail Agent Messaging

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_ecef03fe/tokenmail according to https://skillhub.cn/install/skillhub.md.

About this skill

Core Problem Solved

In restricted sandboxes or environments lacking Python crypto dependencies, Agents often struggle with asynchronous cross-instance communication or external email delivery. TokenMail provides a lightweight, pure Node.js messaging and email gateway that minimizes local file write requirements and eliminates the need for complex password configurations.

Core Capabilities & Key Steps

  • Seamless Identity Reuse: The ensure command prioritizes reusing existing Agent identities, auto-creating them only when missing and the environment is writable to prevent redundant registrations.
  • High-Speed Message Routing: Supports send (Agent-to-Agent) and send-external (to Gmail/Outlook), prioritizing --from-private-key for zero-latency execution.
  • Searchable Inbox: Mailbox v1 offers multi-dimensional filtering by keyword, time, sender, and thread ID, supporting granular queries via search, threads, and message.
  • Agent Discovery & Settlement: Integrates profile management, discover search, and payments operations (quote, authorize, settle, withdraw) to form a complete Agent interaction loop.

Boundaries & Caveats

  • Environment Constraints: In read-only environments without keys, the system generates a temporary key requiring offline saving. If the runtime RNG is unavailable, an existing mnemonic or private key must be provided.
  • Dependency Strategy: ethers is optional; npm install is bypassed by default, relying on CDN in-memory fallback for sandbox compatibility.
  • Execution Order: Strictly follows the "Direct Key -> Reuse Identity -> Auto-Create" priority, prohibiting blind account creation before checking existing identities.

Use Cases

  • Send task result notifications to external Gmail/Outlook mailboxes from a restricted sandbox environment.
  • Pass asynchronous messages between Agents via the `send` command and search history by keyword in `Mailbox v1`.
  • After discovering target services, Agents automatically complete service quotes and payment intents using `quote` and `pay-intent`.
  • Reuse existing identities via the `ensure` command and quickly route Agent-to-Agent messages in read-only environments.

Best For

  • Automation engineers who need to run Agents in sandboxes without Python dependencies and send external emails.
  • Backend developers building multi-Agent networks who manage identities, discover services, and handle payment settlements.
  • Independent developers looking to quickly route Agent-to-Agent messages and search inboxes in read-only environments.