Skip to content
onelayer.
All tools

Tool detail

AgentMail · Get attachment

Downloads one file attachment from a message in an AgentMail thread.

Categories: Email

Use when

  • fetch a file attached to a received email in a thread
  • retrieve an invoice or document attached to a thread message

Not for

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

Inputs

Path params: pod_id, thread_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}/threads/{thread_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/threads/:thread_id/attachments/:attachment_id
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z