Sign inGet Started

Get a received email's raw content

GET
/v1/email/inbound-messages/{inbound_message_id}/raw
bird email inbound-messages raw <inbound-message-id>

Returns the original message exactly as received, in RFC 5322 (MIME) format, as a message/rfc822 download. Use it when you need the exact bytes:

  • Full headers.
  • Signatures.
  • Your own MIME parsing.

For parsed fields use Get a received email and Get a received email's body.

Returns 404 when the message is unknown or its stored content has expired (received emails are retained for 30 days). A received message, including its attachments, cannot exceed 20 MB.

Parameters

inbound_message_idstring

Received email identifier. Starts with rem_.