Email

Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The body contains the email content. If you want the original SMTP message see the getRawEmail endpoints. The attachments can be fetched using the AttachmentController

Properties

NameTypeDescriptionNotes
analysisEmailAnalysis[optional]
attachmentslist[str]List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.[optional]
bcclist[str]List of BCC recipients email was addressed to[optional]
bodystrThe body of the email message[optional]
body_excerptstrAn excerpt of the body of the email message[optional]
body_md5_hashstrA hash signature of the email message[optional]
cclist[str]List of CC recipients email was addressed to[optional]
charsetstrDetected character set of the email body such as UTF-8[optional]
created_atdatetimeWhen was the email received by MailSlurp[optional]
_fromstrWho the email was sent from[optional]
headersdict(str, str)Collection of SMTP headers attached to email[optional]
idstrID of the email entity[optional]
inbox_idstrID of the inbox that received the email[optional]
is_htmlboolIs the email body HTML[optional]
readboolRead flag. Has the email ever been viewed in the dashboard or fetched via the API? If so the email is marked as read.[optional]
reply_tostrThe replyTo field on the received email message[optional]
subjectstrThe subject line of the email message[optional]
team_accessboolCan the email be accessed by organization team members[optional]
tolist[str]List of To recipients that email was addressed to[optional]
updated_atdatetimeWhen was the email last updated[optional]
user_idstrID of user that email belongs to[optional]

[Back to Model list] [Back to API list] [Back to ]