{"uid":"cap_V2zYwi6OUfIC3gxIoQ12r","slug":"mermail-agent-email-reply-f8af9d6f","name":"Mermail Agent Email Reply","description":"An inbox and wallet for your AI agent. Find and nurture sales leads, resolve customer support, and handle online purchases with controlled payments.","url":"https://console.mermail.app/api/agent/v1/mailboxes/%7BmailboxId%7D/emails/%7BemailId%7D/reply?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string","format":"email"}}]},"to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string","format":"email"}}]},"bcc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string","format":"email"}}]},"from":{"oneOf":[{"type":"string"},{"type":"object","required":["email","name"],"properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"}}}]},"html":{"type":"string"},"text":{"type":"string"},"subject":{"type":"string"},"thread_id":{"type":"string"},"references":{"type":"array","items":{"type":"string"}},"attachments":{"type":"array","items":{"type":"object"}},"in_reply_to":{"type":"string"},"client_send_id":{"type":"string","format":"uuid"},"source_draft_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"status":"queued"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t_wYU936wq9L7SY_6NOBU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a reply to a specific email in an AI agent's mailbox, queuing the outbound message with optional CC/BCC, HTML body, and attachments","exampleAgentPrompt":"Reply to the email I just received in my Mermail agent inbox — tell the customer 'Thanks for reaching out, we'll process your refund within 2 business days' and CC billing@mycompany.com on it.","exampleUseCases":[{"title":"Automated customer support reply","prompt":"Someone emailed my agent's Mermail inbox asking about their order status — reply to that email with 'Your order #4821 is on its way and should arrive by Friday' and keep it in the same thread."},{"title":"Sales lead follow-up","prompt":"A prospect just emailed us through my agent's Mermail mailbox expressing interest in our pricing — have the agent reply with our standard intro pitch and CC my sales manager at jane@mycompany.com."},{"title":"Notify sender with HTML-formatted reply","prompt":"Reply to the email I got in my Mermail agent mailbox from the enterprise client — use a nicely formatted HTML response with a greeting, our updated SLA terms in bullet points, and BCC legal@mycompany.com."}],"resultDescription":"Returns a JSON object with a 'status' field set to 'queued', confirming the reply has been accepted and scheduled for delivery from the agent's mailbox.","failureModes":["Invalid mailboxId or emailId returns 404 not found","Malformed email addresses in to/cc/bcc fields cause validation errors","Missing required authentication or insufficient payment (x402) causes 402 Payment Required","Empty message body (both text and html absent) may be rejected","Invalid UUID for client_send_id returns 400 bad request","Network timeout without confirmation of queueing"],"whenToPreferThis":"Use this endpoint when an AI agent needs to send an outbound reply to a specific email it has already received in its Mermail managed mailbox — particularly for agentic workflows around customer support, sales lead nurturing, or any scenario where the agent must continue an existing email thread rather than initiate a new one.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:32:32.496Z","isFirstParty":false,"canonicalSlug":"mermail-agent-email-reply-f8af9d6f"}