Newer Version Available

This content describes an older version of this product. View Latest

EmailMessage

Represents an email in Salesforce.

For more information, see EmailMessage in the Object Reference for Salesforce and Lightning Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
ActivityId Activity ID reference 18
BccAddress BCC Address string 4000
CcAddress CC Address string 4000
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
EmailTemplateId Email Template ID reference 18
FirstOpenedDate First Opened datetime
FromAddress From Address email 1000
FromName From Name string 1000
HasAttachment Has Attachment boolean
Headers Headers textarea 32000
HtmlBody HTML Body textarea 32000
Id Email Message ID id 18
Incoming Is Incoming boolean
IsBounced Bounced? boolean
IsClientManaged Is Client Managed boolean
IsDeleted Deleted boolean
IsExternallyVisible Is Externally Visible boolean
IsOpened Opened? boolean
IsTracked Is Tracked boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastOpenedDate Last Opened datetime
MessageDate Message Date datetime
MessageIdentifier Message ID string 765
ParentId Case ID reference 18
RelatedToId Related To ID reference 18
ReplyToEmailMessageId Email Message ID reference 18
Status Status picklist 40
Subject Subject string 3000
SystemModstamp System Modstamp datetime
TextBody Text Body textarea 32000
ThreadIdentifier Thread ID string 765
ToAddress To Address string 4000
ValidatedFromAddress From picklist 255