Interface ListMessagesQueryParams

Interface representing the query parameters for listing messages.

Hierarchy

Properties

anyEmail?: string[]

Return emails that have been sent or received from this list of email addresses.

bcc?: string[]

Return items containing messages bcc'd on these email address.

cc?: string[]

Return items containing messages cc'd on these email address.

fields?: MessageFields

Allows you to specify to return messages with headers included.

from?: string[]

Return items containing messages sent from these email address.

hasAttachment?: boolean

Return emails that contain attachments.

in?: string[]

Return emails that are in these folder IDs.

limit?: number
pageToken?: string
receivedAfter?: number

Return emails that have been received after this timestamp.

receivedBefore?: number

Return emails that have been received before this timestamp.

searchQueryNative?: string

The provider-specific query string used to search messages. Available for Google and Microsoft Graph only.

starred?: boolean

Return emails that are starred.

subject?: string

Return items with a matching literal subject.

threadId?: string

Return emails that belong to this thread.

to?: string[]

Return items containing messages sent to these email address.

unread?: boolean

Return emails that are unread.

Generated using TypeDoc