Tool detail
AgentMail · Get attachment
Downloads one attachment from a draft by draft_id and attachment_id, without requiring an inbox_id.
Categories: Email
Use when
- download a draft's attachment when the inbox isn't known
- fetch attachment bytes by draft and attachment ID
- retrieve a file from a known draft account-wide
Not for
- not for listing attachments — needs a known attachment_id
- not for draft text
Inputs
GET path params: draft_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/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/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