# 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

# Hierarchy

  • EmailProjection

# Properties

# Optional attachments

attachments? : Array‹string›

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

type {Array‹string›}

memberof EmailProjection


# Optional bcc

bcc? : Array‹string›

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

type {Array‹string›}

memberof EmailProjection


# Optional cc

cc? : Array‹string›

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

type {Array‹string›}

memberof EmailProjection


# createdAt

createdAt: Date

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

type {Date}

memberof EmailProjection


# id

id: string

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

type {string}

memberof EmailProjection


# inboxId

inboxId: string

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

type {string}

memberof EmailProjection


# Optional read

read? : boolean

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

type {boolean}

memberof EmailProjection


# Optional subject

subject? : string

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

type {string}

memberof EmailProjection


# to

to: Array‹string›

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

type {Array‹string›}

memberof EmailProjection