Skip to main content
Use GET /v1/messages/{message_id}/source when your workflow needs the original MIME message.
The endpoint validates account ownership and the 15-minute message lifetime before reading private storage. It returns message/rfc822, forces a safe download disposition, and never exposes a permanent object URL. Raw source is untrusted binary content. Do not log it, render it inline, feed it to shell commands, or assume embedded headers and parts are safe. Store it only as long as your workflow requires. If private storage is temporarily unavailable, the API returns 503; it does not substitute a successful empty file.
Last modified on August 2, 2026