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:1453 (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:1459 (opens new window)
List of BCC
recipients email was addressed to
memberof
EmailPreview
# cc
• Optional
cc: Array<string>
Defined in src/generated/api.ts:1465 (opens new window)
List of CC
recipients email was addressed to
memberof
EmailPreview
# createdAt
• Optional
createdAt: Date
Defined in src/generated/api.ts:1471 (opens new window)
When was the email received by MailSlurp
memberof
EmailPreview
# from
• Optional
from: string
Defined in src/generated/api.ts:1477 (opens new window)
Who the email was sent from
memberof
EmailPreview
# id
• Optional
id: string
Defined in src/generated/api.ts:1483 (opens new window)
ID of the email
memberof
EmailPreview
# read
• Optional
read: boolean
Defined in src/generated/api.ts:1489 (opens new window)
Has the email been viewed ever
memberof
EmailPreview
# subject
• Optional
subject: string
Defined in src/generated/api.ts:1495 (opens new window)
The subject line of the email message
memberof
EmailPreview
# to
• Optional
to: Array<string>
Defined in src/generated/api.ts:1501 (opens new window)
List of To
recipients email was addressed to
memberof
EmailPreview