{"uid":"cap_5h5VKDAVUFg4xVQ1-BCVq","slug":"agentmail-send-email-message-72a567bc","name":"AgentMail Send Email Message","description":"Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/send)","url":"https://x402.api.agentmail.to/v0/inboxes/%7Binbox_id%7D/messages/send","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":2,"rating":{"score":"1.00","successRate":"1.00","reviews":2,"stars":"5.0","state":"rated"},"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_yiNLGhQuoEGlNafXeeGxH","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 an email message from a specified AI agent inbox via the AgentMail REST API","exampleAgentPrompt":"Send an email from my AgentMail inbox (inbox ID: acct_123) to alice@example.com with the subject 'Project Update' and the body 'Hi Alice, just checking in on the project status — let me know if you need anything!'","exampleUseCases":[{"title":"Support inbox for an agent fleet","prompt":"Our customer support agent needs to send follow-up emails to customers from our main support inbox. Have it send an email to support-case-789@customer.com with the subject 'We're here to help' and a message explaining that we've received their inquiry and will respond within 24 hours."},{"title":"Automated contract review notifications","prompt":"My legal review agent just finished analyzing a contract and needs to notify all stakeholders. Send an email from the contracts inbox to john@firm.com, sarah@firm.com, and mike@firm.com with subject 'Contract Review Complete' and let them know the document is ready for signing with a summary of key changes."},{"title":"Lead nurture campaign outreach","prompt":"Set up my sales agent to send personalized outreach emails to qualified leads. Have it send from our sales inbox (inbox ID: sales_456) to prospects@list.csv with a subject line about our latest product offering and a friendly message introducing our company and requesting a brief call."}],"resultDescription":"Returns a JSON confirmation object with the sent message ID and delivery status, confirming the email was dispatched from the specified inbox.","failureModes":["Invalid or non-existent inbox_id returns 404 not found","Missing required fields (recipient, subject, or body) returns 400 bad request","Insufficient USDC balance or x402 payment failure prevents message dispatch","Rate limiting or quota exceeded returns 429 too many requests","Invalid recipient email format returns validation error","Authentication failure returns 401 unauthorized"],"whenToPreferThis":"Use this endpoint when an AI agent needs to send outbound email from a dedicated AgentMail inbox, especially in automated workflows where the agent is acting as an email participant. Prefer this over generic SMTP or transactional email APIs when the agent needs a persistent, addressable inbox identity and the x402 micropayment model fits the use case.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-10T15:18:30.718Z","lastSuccessfullyRanAt":"2026-07-10T15:18:30.718Z","lastHealthCheckAt":"2026-09-09T18:30:01.719Z","isFirstParty":false}