> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Attachment

> Retrieve a specific attachment from an inbound received email.

Fetches metadata and a secure download link for an attachment received via inbound MX routing via the Mailofly API.

### Path Parameters

**email\_id** `string` *required*

The unique ID of the received inbound email.

**attachment\_id** `string` *required*

The unique ID of the attachment (`att_...`).

### Response

**id** `string`

Attachment ID

**filename** `string`

Original file name

**content\_type** `string`

MIME type

**size** `integer`

Size in bytes

**download\_url** `string`

Presigned download URL


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.