Skip to content
onelayer.
All tools

Tool detail

AgentMail · Get attachment

Downloads one attachment from a thread by thread_id and attachment_id, without requiring an inbox_id.

Categories: Email

Use when

  • download a thread attachment when the inbox isn't known
  • fetch attachment bytes by thread and attachment ID
  • retrieve a file from a known thread account-wide

Not for

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

Inputs

GET path params: thread_id, attachment_id (both 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/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/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