# Interface: EmailPreview

Preview of an email message. For full message (including body and attachments) call the getEmail or other email endpoints with the provided email ID.

export

interface EmailPreview

# Hierarchy

  • EmailPreview

# Properties

# Optional attachments

attachments? : Array‹string›

Defined in src/generated/api.ts:729

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.

type {Array‹string›}

memberof EmailPreview


# Optional bcc

bcc? : Array‹string›

Defined in src/generated/api.ts:735

List of BCC recipients email was addressed to

type {Array‹string›}

memberof EmailPreview


# Optional cc

cc? : Array‹string›

Defined in src/generated/api.ts:741

List of CC recipients email was addressed to

type {Array‹string›}

memberof EmailPreview


# Optional createdAt

createdAt? : Date

Defined in src/generated/api.ts:747

When was the email received by MailSlurp

type {Date}

memberof EmailPreview


# Optional id

id? : string

Defined in src/generated/api.ts:753

ID of the email

type {string}

memberof EmailPreview


# Optional read

read? : boolean

Defined in src/generated/api.ts:759

Has the email been viewed ever

type {boolean}

memberof EmailPreview


# Optional subject

subject? : string

Defined in src/generated/api.ts:765

The subject line of the email message

type {string}

memberof EmailPreview


# Optional to

to? : Array‹string›

Defined in src/generated/api.ts:771

List of To recipients email was addressed to

type {Array‹string›}

memberof EmailPreview