Skip to content
onelayer.
All tools

Tool detail

AgentMail · Get attachment

Downloads one attachment from a message in an AgentMail inbox by inbox_id, message_id and attachment_id.

Categories: Email

Use when

  • download a file attached to a specific email
  • retrieve an attachment from one message by ID
  • fetch attachment bytes for a known message

Not for

  • not for listing attachments — needs a known attachment_id
  • not for message text — attachment content only

Inputs

GET path params: inbox_id, message_id, attachment_id (all required); no documented query params.

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

Endpoint

Method
GET
URL
https://mpp.api.agentmail.to/v0/inboxes/{inbox_id}/messages/{message_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/inboxes/:inbox_id/messages/:message_id/attachments/:attachment_id
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z