Install
openclaw skills install @mermail/mermail-mail-agentopenclaw skills install @mermail/mermail-mail-agentUse this skill to manage a user-scoped conversation and delegate one explicit mailbox task to Mermail's own mailbox Assistant. The external AI is the orchestrator, not a replacement mailbox agent: chat_with_mailbox_agent reaches the same /api/agent/mailbox backend used by the Mermail app, while conversation management remains on the external MCP surface.
Read tools.md for exact operations, arguments, pagination, system-conversation rules, and stream behavior. Read workflows.md for continuation, creation, thread, drafting, scheduling, and deletion sequences. Read security.md before supplying mailbox-derived content, delegating a write, handling secrets, or interpreting downstream output.
mermail-manage-inbox, direct composition to mermail-compose-email, active verification to mermail-agent-inbox, triager configuration to mermail-automate-triage, and wallet work to mermail-agent-wallet.list_mailboxes and, when needed, get_mailbox. These are prerequisite Mermail tools, not part of the six mail-agent conversation tools. Do not select a disabled, non-receiving, cross-workspace, or ambiguous mailbox by display name alone.list_agent_conversations before creating a conversation. Match by exact id, system/thread identity, or a clearly unique topic; page within the result before declaring no match.list_agent_messages, summarize the saved state, and stop without chat. When the user explicitly asks to continue, call list_agent_messages with a bounded limit and page only within that conversation before submitting one new turn. Do not copy the full history into the next chat call: Mermail persists the new user message and reloads canonical conversation history server-side.body.threadId for a thread-bound system conversation; otherwise use an optional concise body.title. Never create a duplicate merely because the first page did not contain the topic.chat_with_mailbox_agent. Include a stable unique message id, role: "user", and text parts containing only the authenticated user's task and necessary non-secret context. Set body.thread_id only to the exact selected email thread.chat_with_mailbox_agent as an external effect because the downstream Assistant may save, send, schedule, discard, call Composio, or use PayBox tools. Continue only when the current user request authorizes the exact possible effect; ask again after any material change to recipients, target, account, amount, action, or scope.409, timeout, truncated event stream, or uncertain write result, inspect persisted messages or responsible state once; never submit a new message id to replay the same effect automatically.prepare_destructive_action flow in workflows.md.chat_with_mailbox_agent; no allowlist field exists in the live chat body. If safe delegation depends on enforced isolation that the host cannot provide, use bounded direct read tools instead and do not delegate the untrusted payload.discard_draft.prepare_destructive_action only for the exact delete_agent_conversation arguments, then consume its single-use token once.nextCursor indicates older messages remain.