Fetch a Single Email
Retrieve the stored raw email for a specific message by its message ID.
Retrieve the stored raw email for a specific message. The response includes the raw RFC822 message content.
Scope: user_logs.read or domains.logs.read
Path Parameters
message_idstringrequiredThe message ID of the email to retrieve.
Response
fromstringoptionalSender address.
tostring | arrayoptionalRecipient address(es).
raw_emailstringoptionalRaw RFC822 message content.
collected_onstringoptionalCollection timestamp in YYYY-MM-DD HH:MM:SS (UTC) format.
Sample Response
200 OK
{
"data": {
"from": "[email protected]",
"to": ["[email protected]"],
"raw_email": "From: [email protected]\r\nTo: [email protected]\r\nSubject: Welcome\r\n\r\nHello",
"collected_on": "2026-06-28 10:00:00"
}
}Returns 404 if the email is not found or not owned by the account.