MailSlurp JS

Globals / EmailPreview

# 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

# Index

# Properties

# Properties

# attachments

Optional attachments: Array<string>

Defined in src/generated/api.ts:853 (opens new window)

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.

memberof EmailPreview


# bcc

Optional bcc: Array<string>

Defined in src/generated/api.ts:859 (opens new window)

List of BCC recipients email was addressed to

memberof EmailPreview


# cc

Optional cc: Array<string>

Defined in src/generated/api.ts:865 (opens new window)

List of CC recipients email was addressed to

memberof EmailPreview


# createdAt

Optional createdAt: Date

Defined in src/generated/api.ts:871 (opens new window)

When was the email received by MailSlurp

memberof EmailPreview


# from

Optional from: string

Defined in src/generated/api.ts:877 (opens new window)

Who the email was sent from

memberof EmailPreview


# id

Optional id: string

Defined in src/generated/api.ts:883 (opens new window)

ID of the email

memberof EmailPreview


# read

Optional read: boolean

Defined in src/generated/api.ts:889 (opens new window)

Has the email been viewed ever

memberof EmailPreview


# subject

Optional subject: string

Defined in src/generated/api.ts:895 (opens new window)

The subject line of the email message

memberof EmailPreview


# to

Optional to: Array<string>

Defined in src/generated/api.ts:901 (opens new window)

List of To recipients email was addressed to

memberof EmailPreview