Mailhooks icon

Mailhooks

Consume the Mailhooks API

Email → Download EML

AI-generated

Summary

Download an email in EML format by specifying its Email ID, returning the email data as binary EML content compatible with email clients.

Inputs

  • Email ID (required) — The unique identifier of the email to download.

Output shape

a single binary file per input item, containing the email in EML (message/rfc822) format, with accompanying JSON metadata about the filename and content type.

The operation returns the EML file as binary data named from the Content-Disposition header if available, defaulting to 'email-{EmailID}.eml'. Each returned item corresponds to one input and is paired by item index.

Links

Discussion