{"uid":"cap_lG9gKJx23IPW3yT2ym7RS","slug":"agentmail-reply-via-vaaya-509d4f5d","name":"AgentMail Reply via Vaaya","description":"Give an AI agent a credit account. Set a limit and a spending policy, and the agent makes approved, metered purchases from providers that accept Vaaya.","url":"https://vaaya.ai/api/run/agentmail/reply","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["message_id"],"properties":{"html":{"type":"string"},"text":{"type":"string"},"inbox_id":{"type":"string","minLength":1},"message_id":{"type":"string","minLength":1}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_gxxmTKaCKCveaRyB2wICE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a reply to a specific email message in an AgentMail inbox using the provided inbox and message identifiers","exampleAgentPrompt":"Reply to message msg_abc123 in inbox inbox_xyz456 with the text: 'Thanks for reaching out — we'll get back to you within 24 hours.'","exampleUseCases":[{"title":"Automated customer support reply","prompt":"Reply to message msg_support_001 in inbox inbox_support with the text: 'Hi, thanks for your message! Our team is reviewing your request and will follow up shortly.'"},{"title":"Sales follow-up after demo","prompt":"Send a reply to message msg_demo_987 in inbox inbox_sales saying 'Great connecting with you today — here's a link to our pricing page: https://example.com/pricing. Let me know if you have questions!'"},{"title":"Lead acknowledgment outreach","prompt":"Reply to the inbound email with message ID msg_lead_555 in inbox inbox_gtm with: 'Thanks for your interest! I'd love to set up a quick call — what times work for you this week?'"}],"resultDescription":"A confirmation object indicating the reply was sent, typically including the sent message details or a success status tied to the AgentMail API response.","failureModes":["Missing or invalid inbox_id returns a 400 or 404 error","Missing or invalid message_id causes the reply to fail","Both text and html body fields omitted may result in an empty or rejected message","Network or upstream AgentMail API errors may return 500-level responses","Payment failure (insufficient USDC balance) prevents the call from executing via x402"],"whenToPreferThis":"Use this endpoint when your agent needs to reply to a specific email thread managed through AgentMail, especially in agentic workflows involving inbound email handling, customer support automation, or sales outreach sequences. Prefer this over generic email APIs when already operating within the AgentMail inbox ecosystem via Vaaya.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:35:46.532Z","isFirstParty":false}