{"uid":"cap_7axdcejXEtiiBY66Gh9YP","slug":"agentmail-get-draft-b0256bf2","name":"AgentMail Get Draft","description":"AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.","url":"https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/drafts/%7Bdraft_id%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["pod_id","draft_id"],"properties":{"pod_id":{"type":"string"},"draft_id":{"type":"string"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","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":{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_pT_IdeV7Xjq5VGPkaFfUG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieve a specific email draft by ID from an AgentMail pod","exampleAgentPrompt":"Can you pull up the email draft with ID draft_abc123 from pod pod_xyz456 in AgentMail so I can review it before sending?","exampleUseCases":[{"title":"Review drafted customer response before sending","prompt":"I need you to check the email draft I started earlier to that customer complaint. Can you pull it up from my AgentMail inbox so I can see what I wrote and make sure it sounds professional before we send it out?"},{"title":"Verify email content in multi-agent workflow","prompt":"Before the approval agent sends out this email, can you fetch draft number draft_4782 from our shared pod and show me the full message content so I can validate the information is correct?"},{"title":"Retrieve forgotten email draft details","prompt":"I remember saving an email draft to follow up with our partner, but I can't find it in my regular inbox. Can you look it up in AgentMail using the draft ID I have and let me know what I wrote?"}],"resultDescription":"Returns a JSON object representing the email draft, including fields such as subject, body, recipient addresses, sender, and any other metadata associated with the draft stored in the specified pod.","failureModes":["Draft not found (invalid draft_id) — 404 error","Pod not found or access denied (invalid pod_id) — 404 or 403 error","Missing required path parameters — 400 bad request","Authentication failure — 401 unauthorized","Rate limit exceeded — 429 too many requests"],"whenToPreferThis":"Use this endpoint when an AI agent needs to inspect or review a previously created email draft within a specific AgentMail pod before deciding whether to send, edit, or discard it. Prefer this over listing all drafts when the specific draft_id is already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:01.919Z","isFirstParty":false}