ReferenceAsk
Remy Reference/agent/email.message
?

email.message

One sent message in full, including its bounce diagnostics.
email.message(messageId) EmailMessage

One message by id, in full, including the provider diagnostic that carries the SMTP reason for a bounce.

Parameters
messageId
string
RequiredThe message id.
Call from a method
const msg = await email.message(id);
msg.diagnostic; // SMTP reason on a bounce