Interface: EmailProjection
A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the getEmail
method with the email projection's ID. See EmailDto
for documentation on projection properties.
export
interface
EmailProjection
Table of contents
Properties
- attachments
- bcc
- bodyExcerpt
- bodyMD5Hash
- cc
- createdAt
- domainId
- from
- id
- inboxId
- read
- subject
- teamAccess
- to
Properties
attachments
• Optional
attachments: string
[]
memberof
EmailProjection
bcc
• Optional
bcc: string
[]
memberof
EmailProjection
bodyExcerpt
• Optional
bodyExcerpt: string
memberof
EmailProjection
bodyMD5Hash
• Optional
bodyMD5Hash: string
memberof
EmailProjection
cc
• Optional
cc: string
[]
memberof
EmailProjection
createdAt
• createdAt: Date
memberof
EmailProjection
domainId
• Optional
domainId: string
memberof
EmailProjection
from
• Optional
from: string
memberof
EmailProjection
id
• id: string
memberof
EmailProjection
inboxId
• inboxId: string
memberof
EmailProjection
read
• read: boolean
memberof
EmailProjection
subject
• Optional
subject: string
memberof
EmailProjection
teamAccess
• teamAccess: boolean
memberof
EmailProjection
to
• to: string
[]
memberof
EmailProjection