Retrieve an email
GET /emails/:id — fetch an email object and its event log.
/emails/:idRetrieve a single email by id, including its current status and the ordered events array. Only emails belonging to your account are returned.
Path parameters
idstringrequiredThe email id returned when the email was created.
Response fields
objectstringoptionalAlways email.
idstringoptionalThe email id.
message_idstringoptionalThe RFC 5322 Message-ID assigned to the message, e.g. <111-222-333@email.example.com>.
fromstringoptionalThe sender address the email was sent from.
tostring[]optionalThe recipient addresses.
ccstring[]optionalCarbon-copy addresses (empty array if none).
bccstring[]optionalBlind carbon-copy addresses (empty array if none).
reply_tostring[]optionalReply-To addresses (empty array if none).
subjectstringoptionalThe subject line.
htmlstringoptionalThe HTML body that was sent (may be null).
textstringoptionalThe plain-text body that was sent (may be null).
statusstringoptionalCurrent status — see Managing emails.
last_eventstringoptionalThe most recent recorded event type (falls back to status).
scheduled_atstringoptionalThe scheduled send time, or null if the email was not scheduled.
created_atstringoptionalISO 8601 creation timestamp.
tagsobject[]optionalThe tags set on the email, each { name, value }.
eventsobject[]optionalOrdered event log: each entry is { type, created_at }.
Request
import { MailBlastr } from 'mailblastr';
const mb = new MailBlastr('mb_xxxxxxxxx');
const { data, error } = await mb.emails.get('49a3999c-0ce1-4ea6-ab68-afcd6dc2e794');
console.log({ data, error });Response
The email object plus an events array. cc, bcc, reply_to, and tags are always present (empty array [] when nothing was set). text and html are present when the original send included them, null otherwise.
{
"object": "email",
"id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
"message_id": "<111-222-333@email.example.com>",
"from": "Acme <hello@yourdomain.com>",
"to": ["delivered@example.com"],
"cc": [],
"bcc": [],
"reply_to": [],
"subject": "Hello from MailBlastr",
"html": "<p>It works!</p>",
"text": null,
"status": "delivered",
"last_event": "delivered",
"scheduled_at": null,
"created_at": "2026-06-23T10:00:00.000Z",
"tags": [{ "name": "category", "value": "confirm_email" }],
"events": [
{ "type": "sent", "created_at": "2026-06-23T10:00:00.000Z" },
{ "type": "delivered", "created_at": "2026-06-23T10:00:04.512Z" }
]
}Errors
Returns not_found (404) if no email with that id exists for your account. See the error reference.