GET
Download attachment
Returns a presigned download URL (valid 15 minutes) for one attachment. The index is 0-based and matches the order of the attachments array from Get email by ID. Only attachments with stored: true can be downloaded.
Attachment storage is included on Pro and Scale. On Free this returns 402: the metadata is kept, but the content isn’t stored.
string
required
The email id (em_…).
integer
required
0-based index into the email’s attachments array.
Fetch the file from url directly — it’s pre-signed, so no auth header is needed.
Returns 404 if the email or attachment isn’t found (or has no stored content), or 503 if attachment storage isn’t configured.