Emails represent messages synced from connected email accounts in Lightfield. Read responses are privacy-aware and may be redacted based on the caller.
ModelsExpand Collapse
type EmailListResponse struct{…}
type EmailListResponse struct{…}
Data []EmailListResponseDataArray of email objects for the current page.
Data []EmailListResponseData
Array of email objects for the current page.
Fields map[string, EmailListResponseDataField]Field map for this email. Does not include $body; retrieve the email by ID for message HTML.
Fields map[string, EmailListResponseDataField]
Field map for this email. Does not include $body; retrieve the email by ID for message HTML.
Value EmailListResponseDataFieldValueUnionThe field value, or null if unset.
Value EmailListResponseDataFieldValueUnion
The field value, or null if unset.
ValueType stringThe data type of the field.
ValueType string
The data type of the field.
One of the following:
const EmailListResponseDataFieldValueTypeMultiSelect EmailListResponseDataFieldValueType = "MULTI_SELECT"
const EmailListResponseDataFieldValueTypeSingleSelect EmailListResponseDataFieldValueType = "SINGLE_SELECT"
const EmailListResponseDataFieldValueTypeSocialHandle EmailListResponseDataFieldValueType = "SOCIAL_HANDLE"
type EmailRetrieveResponse struct{…}
type EmailRetrieveResponse struct{…}
Fields map[string, EmailRetrieveResponseField]Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Fields map[string, EmailRetrieveResponseField]
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Value EmailRetrieveResponseFieldValueUnionThe field value, or null if unset.
Value EmailRetrieveResponseFieldValueUnion
The field value, or null if unset.
ValueType stringThe data type of the field.
ValueType string
The data type of the field.
One of the following:
const EmailRetrieveResponseFieldValueTypeMultiSelect EmailRetrieveResponseFieldValueType = "MULTI_SELECT"
const EmailRetrieveResponseFieldValueTypeSingleSelect EmailRetrieveResponseFieldValueType = "SINGLE_SELECT"
const EmailRetrieveResponseFieldValueTypeSocialHandle EmailRetrieveResponseFieldValueType = "SOCIAL_HANDLE"