{"uid":"cap_9WxoOZnCq5d1IY_QnoTyb","slug":"agentmail-get-raw-email-message-91730ca0","name":"AgentMail Get Raw Email Message","description":"Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/raw)","url":"https://x402.api.agentmail.to/v0/inboxes/%7Binbox_id%7D/messages/%7Bmessage_id%7D/raw","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","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":"free","summary":"Free","primary":null,"accepted":[]},"paymentMethods":[],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the raw email message content (full RFC 2822 format) for a specific message in an AgentMail inbox","exampleAgentPrompt":"Can you fetch the raw email source for message msg_abc123 in inbox inbox_xyz456 on AgentMail so I can inspect its full headers and MIME structure?","exampleUseCases":null,"resultDescription":"The complete raw RFC 2822 email message including all headers (From, To, Subject, Date, Message-ID, MIME headers, etc.) and the full MIME body with all parts, as received by the AgentMail server for that inbox and message ID.","failureModes":["404 Not Found if the inbox_id or message_id does not exist or belong to the authenticated account","401 Unauthorized if authentication credentials are missing or invalid","403 Forbidden if the agent does not have access to the specified inbox","Empty response body if the message has no content","Payment required error if x402 payment not provided or insufficient"],"whenToPreferThis":"Use this endpoint when you need the complete, unprocessed email content including all headers and raw MIME structure — for example, to parse custom headers, inspect MIME boundaries, verify email authenticity (DKIM/SPF headers), or archive the exact bytes received. Prefer this over parsed-message endpoints when you need full fidelity or are building custom parsing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-09T18:40:13.263Z","isFirstParty":false}