Skip to content
onelayer.
All tools

Tool detail

AgentMail · Get attachment

Downloads one file attachment from an AgentMail draft message.

Categories: Email

Use when

  • fetch a file attached to an unsent AgentMail draft
  • retrieve a document attached to a draft before it is sent

Not for

  • not for attachments on a thread — use the threads attachment endpoint
  • not for listing a draft's attachments — identifier must already be known

Inputs

Path params: pod_id, draft_id, attachment_id (required, string).

Inputs undocumented: mpp.dev lists no input schema; see the provider's API reference

Endpoint

Method
GET
URL
https://mpp.api.agentmail.to/v0/pods/{pod_id}/drafts/{draft_id}/attachments/{attachment_id}

Payment

Protocol
None listed
Listed price
Not listed

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Directory
MPP directory
Record
agentmail GET /v0/pods/:pod_id/drafts/:draft_id/attachments/:attachment_id
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z