id
id: string
subject
subject: string
from
from: string
OptionalfromName
fromName?: string | null
to
to: string[]
cc
cc: string[]
bcc
bcc: string[]
status
isRead
isRead: boolean
folder
folder: string
hasAttachments
hasAttachments: boolean
attachmentCount
attachmentCount: number
Optionalattachments
attachments?: Record<string, unknown> | null
receivedDate
receivedDate: string
OptionalsentDate
sentDate?: string | null
OptionalmatchedUserId
matchedUserId?: string | null
OptionalmatchedUserEmail
matchedUserEmail?: string | null
OptionalmatchConfidence
matchConfidence?: number | null
OptionalbusinessOpportunityId
businessOpportunityId?: string | null
OptionalcreatedAffaireId
createdAffaireId?: string | null
OptionalbusinessOpportunity
businessOpportunity?:
| {
id: string;
name: string;
number: string;
stage: string;
status: string;
}
| null
OptionalcreatedAffaire
createdAffaire?:
| {
id: string;
name: string;
number: string;
stage: string;
status: string;
}
| null
Optionalconfig
config?: { id: string; name: string; email: string } | null
attachmentFiles
OptionaltextBody
textBody?: string | null
OptionalhtmlBody
htmlBody?: string | null
Optionalnotes
notes?: string | null
OptionaldocumentType
documentType?: string | null