EmailMessage
Represents an email in Salesforce.
Introduced in API version 6.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
-
EmailMessage is only available for orgs that use Email-to-Case or Enhanced Email, which is automatically enabled for most customers.
-
To use reply and forward functionality,
FromAddressmust specify an email address that exists in EmailMessageRelation, with aRelationTypeofFromAddress. -
The
Statusfield is mostly read-only. You can change the status only fromNewtoRead. -
The
HtmlBodyandRelatedToIdfields are supported in Classic list views but not in Lightning list views. In related lists and search results in Lightning Experience, these fields either don’t appear, show blank values, or result in an error. -
update()is supported when an email record is inDraftstatus, andIsPrivateDraftisfalse. It’s also supported if the email status isDraft,IsPrivateDraftistrue,andCreatedByis associated with the current user. When the email record isn’t inDraftstatus, theIsExternallyVisiblefield and custom fields only can be updated. -
Set the Update Email Messages user permission for users, such as an Automated Case User, who run automated processes that modify email message-related records. With the Update Email Message permission set, users’ processes can modify EmailMessageRelation and ContentDocumentLink records that are related to an email message that isn’t in Draft status. Don’t set this user permission for other users.
-
Access to an email message depends on the associated object. The user who created the email is specified in
CreatedByIdand always has access, unless that user is a guest user. Guest users have read access if the message is marked asIsExternallyVisible. -
The object that’s used to determine access differs for Email-to-Case and Enhanced Email.
- Email-to-Case—When Email-to-Case is enabled and the email is Case-based (the
ParentIdfield is Case), access depends on the user’s access to the related Case record. If the email message is a draft, only the user in theCreatedByIdfield or users with the Modify All Data permission can access it. - Enhanced Email—Access is activity-based. The
ActivityIdfield specifies an associated Task record. You can control access to activity-based objects with the Access Activities permission. Users with the Modify All Data permission can also access the message.
- Email-to-Case—When Email-to-Case is enabled and the email is Case-based (the
-
When you use the API to insert EmailMessage records in bulk, the same access rules apply: access is based on cases in
ParentIdfields or by tasks inActivityIdfields. When inserting a single record, set theCreatedByIdfield to the user performing the operation or leave it blank.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 45.0
-
Relationship name: ActionCadenceStepTracker
-
Relationship type: relationship
-
Refers to: ActionCadenceStepTracker
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort
- Description: ID of the activity that is associated with the email. Usually represents an open task that is created for the case owner when a new unread email message is received.
ActivityIdcan only be specified for emails on cases. It’s auto-created for other entities. - Relationship name: Activity
- Relationship type: relationship
- Refers to: Task
- Type: string
- Properties: Create, Nillable, Update
- Introduced: API version 41.0
- Description: A comma-separated list of email attachments. This is used by the Send Email quick action when you use Salesforce Classic email templates. Maximum length is 32, 768 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 60.0
- Description: A picklist value that determines if an outgoing email was manually created or AI-generated.
- Possible values:
- AiAssisted — AiAssisted — Email is AI-generated, but sent by human.
- AiAutomated — AiAutomated — Email is generated and sent by AI.
- Null — Null — Email is created and sent by human.
-
Type: string
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
A string array of email addresses for recipients who were sent a visually impaired carbon copy of the email message. Include only email addresses that aren’t associated with Contact, Lead, or User records in Salesforce. If the recipient is a contact, lead, or user, add their ID to the
BccIdsfield instead of adding their email address to theBccAddressfield. When adding their ID, the email message is automatically associated with the contact, lead, or user. For an Experience Cloud site user who isn’t the sender of the email, this field returns null.You can’t send emails unless there’s at least one recipient.
-
Type: string
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
A string array of email addresses for recipients who were sent a carbon copy of the email message. Include only email addresses that aren’t associated with Contact, Lead, or User records in Salesforce. If the recipient is a contact, lead, or user, add their ID to the
CcIdsfield instead of adding their email address to theCcAddressfield. Then the email message is automatically associated with the contact, lead, or user.You can’t send emails unless there’s at least one recipient.
- Type: string
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 56.0
- Description: A value used by third-party email clients to identify which thread an email belongs to. See Email-to-Case Threading for more information.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 60.0
- Description: Stores the ID of the email routing address used to create the email. This value is set when the email is processed by Email-to-Case service. When this field is set, EmailMessage.Incoming cannot be
false. - Relationship name: EmailRoutingAddress
- Relationship type: relationship
- Refers to: EmailRoutingAddress
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 45.0
-
Description:
The email template, if any, that was chosen for the email. This field is populated in Lightning Experience only.
This is a relationship field.
-
Relationship name: EmailTemplate
-
Relationship type: relationship
-
Refers to: EmailTemplate
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 66.0
- Description: The timestamp for when a link in the email was first clicked.
-
Type: datetime
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 44.0
-
Description:
The date the email was first opened.
To see this field, enable email tracking in your org.
-
Type: email
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
The address that originated the email. When using this field, specify an email address that exists in EmailMessageRelation, with a
RelationTypeofFromAddress.EmailMessages in Draft status with
IsPrivateDraftset totruemust use the user’s address, a verified org-wide email address, or a verified Email-to-Case routing address in theFromAddressfield.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 39.0
- Description: The contact, lead, or user who sent the email. Maximum length is 18 characters.
- Relationship name: From
- Relationship type: polymorphic
- Refers to: Contact, Lead, User
- Type: string
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The sender’s name. When using this field, specify an email address that exists in EmailMessageRelation, with a
RelationTypeofFromAddress.
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: Indicates whether the email was sent with an attachment (
true) or not (false). - Default value: false
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 67.0
- Description: Indicates whether the email has a reply (
true) or not (false). The default value isfalse. - Default value: false
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The Internet message headers of the incoming email. Used for debugging and tracing purposes. Doesn’t apply to outgoing emails.
-
Type: textarea
-
Properties: Create, Nillable, Update
-
Description:
The body of the email in HTML format.
You can’t send emails unless at least one of these fields has content.
- Subject field
- HTML Body or Text Body field
As the sender, you can provide the content, or it can be automatically inserted using predefined values. An email template can also include the content for these fields.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort
- Description: Indicates whether the email was received (
true) or sent (false). - Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 44.0
-
Description:
Indicates whether the email bounced.
This field is set to True for bounced emails in orgs using Lightning Threading. It’s not set to True for orgs using Ref ID threading.
To see this field, enable bounce management in your org.
-
Default value: false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort
- Introduced: API version 40.0
- Description: If EmailMessage is created with
IsClientManagedset totrue, users can modifyEmailMessage.ContentDocumentIdsto link file attachments even when theStatusof the EmailMessage isn’t set toDraft. When this field is set totrueand Enhanced Email is enabled, a Task record is created for the EmailMessage regardless of Email-to-Case settings. - Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 33.0
-
Description:
If the Experience Cloud site case feed is enabled,
IsExternallyVisiblecontrols the external visibility of emails in sites. WhenIsExternallyVisibleis set totrue—its default value—external users see the email message in the case feed.- Emails remain visible in the Emails related list whether or not this field is set to true. For security reasons, we recommend that you remove this related list from your case page layout for external community users.
- Only emails with a value in the
ParentIdfield can be made externally visible in sites. - This field can’t be updated if the email’s
Statusis set toDraft. - The
Enable Case Feeds in Experience Cloud Sitesorganization preference in Setup makes case-related emails, comments, and updates visible to site members.
When this preference is off,
IsExternallyVisibleis True by default for the EmailMessage. When this preference is on,IsExternallyVisibledefaults to True only if the case contact email is the sender or the recipient of theEmailMessage.Otherwise,IsExternallyVisibledefaults to False. -
Default value: false
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 66.0
- Description: Indicates whether a link in the email has been clicked (
true) or not (false). The default value isfalse. - Default value: false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Introduced: API version 66.0
- Description: Indicates whether there are any URLs in the email that can be tracked (
true) or not (false). The default value isfalse. - Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 44.0
-
Description:
Indicates whether the email has been opened.
To see this field, enable email tracking in your org.
-
Default value: false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort
- Introduced: API version 43.0
- Description: If
IsPrivateDraftis set totrue, then only theCreatedByIduser can view, update, and send this email draft. IfIsPrivateDraftis set tofalse, then any user with permissions to work on the case can see these drafts. After the email is sent, then this field is updated to befalse. Public drafts are loaded and visible in Salesforce Classic while Private Drafts are only used in Lightning Experience. - Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 44.0
-
Description:
Indicates whether the email is being tracked.
To see this field, enable email tracking in your org.
-
Default value: false
- Type: textarea
- Properties: Create, Nillable, Update
- Introduced: API version 65.0
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 66.0
- Description: The timestamp for when a link in the email was last clicked.
-
Type: datetime
-
Properties: Create, Filter, Nillable, Sort, Update
-
Introduced: API version 44.0
-
Description:
The date the email was last opened.
To see this field, enable email tracking in your org.
-
Type: datetime
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
The date the email was created.
For inbound emails, Email-to-Case sets this field using the Date header. The Date header is set by the email client and is subject to the sender’s time preferences.
- Type: string
- Properties: Create, Filter, idLookup, Nillable, Sort, Update
- Introduced: API version 39.0
- Description: The ID of the email message.
- Type: string
- Properties: Filter, Group, idLookup, Sort
- Introduced: API version 56.0
- Description: A name for the email message that’s derived from the first 255 characters of the Subject field. If the Subject field is empty, a localized string of
[No Subject]is used. This field is read-only and can’t be created or updated.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Description:
ID of the case that’s associated with the email.
This is a relationship field.
-
Relationship name: Parent
-
Relationship type: relationship
-
Refers to: Case
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 37.0
-
Description:
The
RelatedToIdrepresents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. RelatedToIds are polymorphic. Polymorphic means a RelatedToId is equivalent to the ID of a related object.You must have access to at least one entity listed under Refers To to access RelatedToId.
You can update
RelatedToIdwhenIsClientManagedis set totrue.RelatedtoIdandParentIdshould have the same value whenParentIdis set. You might see unexpected results otherwise.This is a polymorphic relationship field.
-
Relationship name: RelatedTo
-
Relationship type: polymorphic
-
Refers to: AcadTermEnrlPolicyRuleLog, AcademicAccessLog, AcademicCredential, AcademicInterest, AcademicOrder, AcademicReviewRequest, AcademicReviewRequestItem, AcademicRole, AcademicRoleMapping, AcademicRoleObjectAccess, AcademicSession, AcademicTarget, AcademicTerm, AcademicTermEnrollment, AcademicTermPolicyRule, AcademicTermRegstrnTimeline, AcademicYear, AccessDelegationRequest, Account, AccountAccountRelation, AccountBillingAccount, AccountFinancialSummary, AccountFlattenedHierarchy, AccountForecast, AccountInternalOrgUnit, AccountLeadTime, AccountPlan, AccountPlanObjective, AccountPlanObjectiveCategory, AccountPlanObjectiveMeasure, AccountPlanParticipant, AccountPlanRelaObjAnalysis, AccountPlanRelationship, AccountPlanStakeholder, AccountPlanStkhldrProduct, AccountProductCategoryClsfn, AccountRole, AccountServicePreference, AccountTeamMemberPeriod, AccountingPeriod, Accreditation, AcctMgrTarget, AcctPlanPtcpStakeholder, ActionPlanStatusPeriod, ActionPlanTemplateAssignment, ActionVisibility, ActionableEventOrchestration, ActionableEventSubtype, ActionableEventType, ActivityPlan, ActivityTiming, AdAvailabilityDimensions, AdAvailabilityJob, AdAvailabilityViewConfig, AdAvailableTargetSegment, AdAvailableTargetSegmentValue, AdBuyServerAccount, AdCreativeSizeType, AdDemographicCode, AdDigitalAvailability, AdLinearAvailability, AdOperationJobRun, AdOperationJobRunOutcome, AdOpportunity, AdOpportunityLineItem, AdOpportunityObjective, AdOpportunityTargetValue, AdOrderItem, AdOrderItemAdSpaceSpec, AdOrderItemAdSpcSpecLoc, AdOrderItemCreativeSizeType, AdOrderItemDeliveryFrequency, AdOrderItemDeliverySchedule, AdOrderItemPrintIssue, AdOrderItemPrmtProduct, AdOrderItemUnitsSplit, AdOrderLineAdTarget, AdOrderLineHiatus, AdOrderLineTargetExpression, AdOrderLineTargetValue, AdPageLayoutType, AdProductDefaultTargetCategory, AdProductDefaultTargetValue, AdProductTargetCategory, AdQuote, AdQuoteLine, AdQuoteLineAdSpaceSpec, AdQuoteLineAdSpcSpecLoc, AdQuoteLineAdTarget, AdQuoteLineCreativeSizeType, AdQuoteLineDeliveryFrequency, AdQuoteLineDeliverySchedule, AdQuoteLineHiatus, AdQuoteLinePrintIssue, AdQuoteLinePrmtProduct, AdQuoteLineTargetExpression, AdQuoteLineTargetValue, AdQuoteLineUnitsSplit, AdQuoteLinearMetrics, AdQuoteMediaTypeProperty, AdServer, AdServerAccount, AdServerAccountContact, AdServerUser, AdSpace, AdSpaceCapacity, AdSpaceCapacityAllocation, AdSpaceCreativeSizeType, AdSpaceGroupMember, AdSpaceSpecLocation, AdSpaceSpecProduct, AdSpaceSpecification, AdSpecMediaPrintIssue, AdTargetCategSgmtAdSrvr, AdTargetCategory, AdTargetCategorySegment, AdTargetSegmentValAdSrvr, AdTargetSegmentValue, AdTargetTemplate, AdTargetTemplateValue, AdUsage, AdUsageSummary, AdvAccountForecastFact, AdvAcctForecastSetPartner, AdvAcctForecastSetUse, AdvTherapyFieldOptOverride, AdverseEventAction, AdverseEventCause, AdverseEventContribFactor, AdverseEventEntry, AdverseEventOutcome, AdverseEventParty, AdverseEventSupportInfo, AdverseEvntResultingEffect, AiVisitRecommendRequest, AiVisitRecommendation, AiVisitTaskRcmd, AiVisitTaskRcmdRequest, AirTravelEmssnFctr, AirTravelEnrgyUse, AllergyIntolerance, AnnualEmssnInventory, AnnualEmssnInventoryExtension, AnnualEmssnRdctnTarget, AntiCorruptionInitSum, AppAlert, AppAlertTerritory, AppAlertUserResponse, AppFormEvalSectionPtcp, AppFormProdtFinclAccount, AppFormProductCollateral, Applicant, ApplicantApplicantRelation, ApplicationActionItem, ApplicationCase, ApplicationDecision, ApplicationForm, ApplicationFormEvalPtcp, ApplicationFormEvalSection, ApplicationFormEvaluation, ApplicationFormProduct, ApplicationFormProductDev, ApplicationFormProductFee, ApplicationFormProductProposal, ApplicationFormRelatedCode, ApplicationFormRelation, ApplicationFormSellerItem, ApplicationFormTemplate, ApplicationFormTerm, ApplicationRecommendation, ApplicationRecommender, ApplicationRenderMethod, ApplicationReview, ApplicationSectionDefinition, ApplicationStageDefExt, ApplicationStageDefinition, ApplicationTimeline, ApplnActnItemDocChecklistItem, ApplnRenderMethodAssignment, ApplnStageSectionDefinition, AppointmentCategory, AppointmentInvitation, AppointmentReason, Appraisal, AppraisalAdjustment, AppraisalItem, AppraisalItemAddOn, AppraisalItemProviderVal, ApprovalSubmission, ApprovalSubmissionDetail, ApprovalWorkItem, ApprovalWorkItemCondition, ApprovalWorkItemCriteria, ApptBundleAggrDurDnscale, ApptBundleAggrPolicy, ApptBundleConfig, ApptBundlePolicy, ApptBundlePolicySvcTerr, ApptBundlePropagatePolicy, ApptBundleRestrictPolicy, ApptBundleSortPolicy, AsmtIndDefExt, AsmtQstnMaterialityTpc, AsmtQstnRespRecommendation, Assessment, AssessmentDefinition, AssessmentEnvelope, AssessmentEnvelopeItem, AssessmentIndicatorDefinition, AssessmentQstnVerChoice2, AssessmentQuestion, AssessmentQuestionAssignment, AssessmentQuestionResponse, AssessmentQuestionSet, AssessmentQuestionSourceDoc, AssessmentQuestionVerChoice, AssessmentQuestionVersion, AssessmentReason, AssessmentSignature, AssessmentTask, AssessmentTaskContentDocument, AssessmentTaskDefinition, AssessmentTaskOrder, Asset, AssetAccountParticipant, AssetActionSrcPriceAdjustment, AssetCase, AssetContactParticipant, AssetDataSharingParticipant, AssetDepreciation, AssetDowntimePeriod, AssetLocation, AssetMilestone, AssetRelationship, AssetServiceRequest, AssetTimeSheet, AssetTitle, AssetTitleParty, AssetType, AssetWarranty, AssignedResource, Assortment, AssortmentProduct, AssortmentSpec, AttendanceEntry, AttendancePolicy, AttendancePolicySourceType, AttendanceRecording, AttendanceSourceData, AttendanceSourceType, AttrPicklistExcludedValue, AttributeAdjustmentCondition, AttributeBasedAdjRule, AttributeBasedAdjustment, AttributeCategory, AttributeCategoryAttribute, AttributeDefinition, AttributePicklist, AttributePicklistValue, AuthApplicationAsset, AuthApplicationPlace, AuthLocationAccessSchedule, AuthTierDataUsePurpose, AuthorNote, AuthorizationTierDefinition, AuthorizedInsuranceLine, Award, BalanceAdjustmentRequest, Banker, Benefit, BenefitAsgntProviderLoc, BenefitAssignment, BenefitAssignmentAsset, BenefitDisbursement, BenefitDisbursementAdj, BenefitItemCode, BenefitPrvdSearchableFld, BenefitSchedule, BenefitScheduleAssignment, BenefitSession, BenefitSpecialty, BillingAccount, BillingAccountContact, BindingObjUsageRsrcPlcy, BindingObjectCustomExt, BindingObjectRateAdjustment, BindingObjectRateCardEntry, BiodiversitySummary, BldgEnrgyIntensity, BldgEnrgyIntensityVal, BldgSizeCategory, BnftAsgntBnftItemCode, BnftAuthTierDef, BoardCertification, BranchUnit, BranchUnitBusinessMember, BranchUnitCustomer, BriefSourceReference, BrokerOfRecord, Budget, BudgetAllocation, BudgetCategory, BudgetCategoryValue, BudgetMngEventType, BudgetParticipant, BudgetPeriod, BudgetProduct, BudgetTerritory, BundleBasedAdjustment, BundledCareFeeAgreement, BusOperProcParticipant, BusOperProcRegClVer, BusRegAuthTypeDependency, BusRegAuthorizationType, BusinessLicense, BusinessLicenseApplication, BusinessLicenseCodeSet, BusinessLicenseProduct, BusinessMilestone, BusinessOperationsProcess, BusinessProfile, BusinessType, BuyerAccount, BuyerGroupPricebook, CalculationMatrix, CalculationMatrixVersion, CalculationProcedure, CalculationProcedureVersion, Campaign, CampaignMemberExtension, CapitationCareFeeAgreement, CareBarrier, CareBarrierDeterminant, CareBarrierType, CareBenefitVerifyRequest, CareDeterminant, CareDeterminantType, CareDiagnosis, CareEpisode, CareEpisodeDetail, CareFacilityBed, CareFeeScheduleItem, CareGap, CareGapCampaign, CareGapCriteriaResult, CareInterventionType, CareMetricTarget, CareObservation, CareObservationComponent, CareObservationDetail, CarePgmEnrleeStatusPeriod, CarePgmEnrolleeWkOrdStep, CarePgmEnrolleeWorkOrder, CarePgmEnrollmentEvalRslt, CarePgmProvHealthcareProvider, CarePgmTeamMbrRolePeriod, CarePlan, CarePlanActivity, CarePlanActivityDetail, CarePlanDetail, CarePlanTemplate, CarePlanTemplateBenefit, CarePlanTemplateGoal, CarePlanTemplateProblem, CarePractnFacilityAppt, CarePreauth, CarePreauthItem, CareProcessingError, CareProgram, CareProgramAssistance, CareProgramCampaign, CareProgramDetail, CareProgramEligibilityRule, CareProgramEnrollee, CareProgramEnrolleeProduct, CareProgramEnrollmentCard, CareProgramGoal, CareProgramProduct, CareProgramProvider, CareProgramSite, CareProgramSiteContract, CareProgramStatusPeriod, CareProgramTeamMember, CareProviderAdverseAction, CareProviderFacilitySpecialty, CareProviderSearchableField, CareRegisteredDevice, CareRequest, CareRequestDrug, CareRequestExchangeInfo, CareRequestExtension, CareRequestItem, CareRequestReviewer, CareRequestSupportingCntnt, CareService, CareServiceVisit, CareServiceVisitPlan, CareSiteIstgrSearchableFld, CareSpecialty, CareSpecialtyTaxonomy, CareTaxonomy, CareTeam, Case, CaseEpisode, CaseFileProcessExecution, CaseGeneratedSummary, CaseParticipant, CaseProceeding, CaseProceedingComplaint, CaseProceedingInfraction, CaseProceedingParticipant, CaseProceedingResult, CaseProgram, CaseRelatedSubject, CaseServiceProcessExtension, CaseTeamMemberProgram, CaseTroubleTicket, CategorizedCareFeeAgreement, CertDisposalOrderLineItem, CertificateOfDisposal, ChangeRequest, ChangeRequestConflict, ChannelProgram, ChannelProgramLevel, Claim, ClaimCase, ClaimCovPaymentAdjustment, ClaimCovReserveAdjustment, ClaimCoverage, ClaimCoveragePaymentDetail, ClaimCoverageReserveDetail, ClaimItem, ClaimItemRelatedObject, ClaimParticipant, ClaimPaymentSummary, ClaimPayoutPlan, ClaimRecovery, ClaimReserveAdjustment, ClaimTeamMember, CleanEnergyProject, ClimateChgEmssnFincSummary, ClimateChgRiskOppSummary, ClinicalAlert, ClinicalDetectedIssue, ClinicalDetectedIssueDetail, ClinicalEncounter, ClinicalEncounterDiagnosis, ClinicalEncounterFacility, ClinicalEncounterIdentifier, ClinicalEncounterProvider, ClinicalEncounterReason, ClinicalEncounterSvcRequest, ClinicalMeasure, ClinicalMeasureCriteria, ClinicalMeasureCriteriaGrp, ClinicalServiceRequest, ClinicalServiceRequestDetail, CmplControlParticipant, CmplCtrlVerTestExecution, CmplIssueCmplAudit, CmplIssueCmplPlcyVer, CmplIssueControlVer, CmplIssueRegulationVer, CmplIssueRiskAssoc, CmplPolicyParticipant, CmplValidationProcdVer, CmplValidationProcedure, CmplVldProcdParticipant, CodeSetRelationship, CollectionPlan, CollectionPlanItem, CollectionPlanMilestone, CollectionPlanReason, CommSubscriptionConsent, CommissionSchedule, CommissionScheduleAssignment, CommissionStatement, CommissionStatementLineItem, CompPlcyCommsRecipient, CompPlcyCommsResponse, Competency, CompetencyRelatedObject, CompiledProduct, ComplaintCase, ComplaintParticipant, ComplianceAudit, ComplianceAuditPolicyClause, ComplianceAuditRegClause, ComplianceAuditRisk, ComplianceControl, ComplianceControlVersion, ComplianceEvidRqstArtifact, ComplianceEvidenceArtifact, ComplianceEvidenceRequest, ComplianceIssue, CompliancePlcyClauseVersion, CompliancePolicy, CompliancePolicyClause, CompliancePolicyComms, CompliancePolicyVersion, ComplianceStatementDef, ComplianceTest, CondIntrctnHlthRskAdjFctr, ConstituentRole, ContactContactRelation, ContactEncounter, ContactEncounterParticipant, ContactPointBestContactTime, ContactPointSocial, ContactProfile, ContactRequest, ContentLink, ContentSource, Contract, ContractDocVerContentDoc, ContractDocVersionSection, ContractDocumentVersion, ContractGroupPlan, ContractGroupPlanGroupClass, ContractLineItem, ContractPaymentAgreement, CostBook, CostBookEntry, CostCenter, Coupon, CourseCreditTransferAppln, CourseEquivalency, CourseOffering, CourseOfferingParticipant, CourseOfferingPtcpResult, CourseOfferingRelationship, CourseOfferingRgstrTimeline, CourseOfferingSchedule, CourseOfferingScheduleTmpl, CourseOfrPtcpActvtyGrd, CourseOfrgRubricCriterion, CoverageBenefit, CoverageBenefitItem, CoverageBenefitItemLimit, CoverageType, CrbnCreditAlloc, CrbnCreditAllocItem, CrbnCreditDistribution, CrbnCreditProject, CrbnEmssnScopeAlloc, CrbnEmssnScopeAllocVal, CreditMemo, CustodyChainEntry, CustodyItem, CustodyItemRelation, CustodyItemRgltyCodeVio, CustodyVerfcTypeOverride, CustomEntityDataTemplate, CustomerProperty, DataQueryWorkspace, DealIndirectPartner, DebitMemo, DelegatedAccount, DeliveryEstimationSetup, DeliveryTask, DepreciationPlan, DesignatedContactAssignment, Deviation, DevopsActivityLog, DevopsEnvDeployment, DevopsEnvDeploymentMbr, DevopsEnvironment, DevopsPipeline, DevopsPipelineEnvironment, DevopsPipelineStage, DevopsPipelnStgProm, DevopsPipelnStgPromWkItem, DevopsProject, DevopsProjectEnvironment, DevopsProjectPipeline, DevopsRequestInfo, DiagnosticSummary, DiagnosticSummaryDetail, DifferentialShift, DigitalSignatureRequest, DigitalVerfSetupDetail, DigitalVerification, DigitalVerificationSetup, Disclosure, DisclsReportingPeriod, DiseaseDefinition, DiseaseDefinitionCondition, DiseaseDefinitionCriteria, DiseaseInvestigation, DiseaseInvestigationCase, DiseaseOutbreak, DisposalOrder, DisposalOrderLineItem, Dispute, DisputeItem, DisputeItemArbitration, DisputeItemMerchantAlert, DistributorAuthorization, DivrsEquityInclSum, DocChkItemValidatedTarget, DocClauseSetAsmtQstn, DocTemplateSectionCondition, DocumentChecklistItem, DocumentClause, DocumentClauseSet, DocumentDecisionRequirement, DocumentEnvelope, DocumentExtractionRqstStep, DocumentRecipient, DocumentTemplate, DocumentTemplateContentDoc, DocumentTemplateSection, DocumentTemplateToken, DonorGiftConcept, DonorGiftConceptOpportunity, DonorGiftSummary, EconomicPerformanceSum, EducCharReqAssignment, EducCharReqRelationship, EducCharRequirement, EducCharacteristicAssignment, EducCharacteristicType, EducInstSearchableProfile, EducInstitutionOffering, EducationalCharacteristic, EducationalInfoRequest, ElectrLifecyclEmssnFctrSet, ElectricityEmssnFctrSet, EmissionsActivity, EmissionsAllocation, EmissionsForecastFact, EmpBenefitSummary, Employee, EmployeeDemographicSum, EmployeeDevelopmentSum, Employment, EmploymentCompensationSummary, EmploymentOffer, EmploymentOfferVettingEval, EmssnRdctnCommitment, EmssnReductionTarget, EnablementCoaching, EnablementCoachingAttendee, EnablementCoachingSession, EnergyAttrCertCredit, EnergyAttrCertPurchase, EnergyAttrCreditDstr, EnergyServiceAgreement, EnergyServiceAgreementItem, EngagementAttendee, EngagementInteraction, EngagementTopic, EnrollmentEligibilityCriteria, Entitlement, EnvironmentalRisk, EstimatedExpense, EstimatedExpensePtcpAlloc, EstmtEnergyUseCriteria, EstmtEnergyUseJobRun, EstmtExpenseFundingSource, EventMgmtAggregationSpec, EventMgmtFairMarketValue, EventMgmtParticipantRole, EventMgmtParticipantType, EventMgmtPtcpTypeRoleMap, EventMgmtResourceRequest, EventMgmtRule, EventMgmtRuleCondition, EventMgmtRuleGroup, EventMgmtRuleGrpAsgnRule, EventMgmtStatus, EventMgmtSvcSpclzn, EventMgmtSvcSpclznTier, EventPlan, EventPlanBudget, EventPlanItem, EventPlanParticipant, EventPlanProduct, EventPlanSubject, EventPlanSvcSpclzn, EventPlanTerritory, Examination, Expense, ExpenseFundingSource, ExpenseParticipant, ExpenseReport, ExpenseReportEntry, ExpenseType, Expert, ExpertEventMgmtSvcSpclzn, ExpertSubject, ExpressionSet, ExpressionSetVersion, ExternalAssessmentDefinition, ExternalLearning, ExternalLearningPtcpResult, ExternalPricingKeyValTier, ExternalPricingKeyValue, ExtlPtcpRsltLrnrPgmRqmt, FinAssetPortfolioTgtAlloc, FinancialAccount, FinancialAccountAddress, FinancialAccountBalance, FinancialAccountFee, FinancialAccountMilestone, FinancialAccountParticipant, FinancialAccountParty, FinancialAccountStatement, FinancialAccountTransaction, FinancialCustodian, FinancialCustodianAdvisor, FinancialDeal, FinancialDealAsset, FinancialDealBid, FinancialDealInteraction, FinancialDealParty, FinancialDealProduct, FinancialGoal, FinancialSecurity, FinclAcctPtyFinclAsset, FinclDealInteractionSummary, Fleet, FleetAsset, FleetParticipant, FlowOrchestrationInstRelaObj, Formulary, FormularyItem, FrgtHaulingEmssnFctr, FrgtHaulingEnrgyUse, FtestAccountChild, FtestChild, FtestGrandChild, FtestMain, FulfillmentOrder, FulfillmentStep, FulfillmentStepDefinition, FulfmtRoutgSpec, FulfmtRoutgSpecLocation, FulfmtRoutgSpecProduct, FundTransferRequest, FundingAward, FundingAwardAmendment, FundingAwardParticipant, FundingAwardRequirement, FundingAwardRqmtSection, FundingDisbursement, FundingOppParticipant, FundingOpportunity, GRNItemBatchUnusableQtyDtl, GRNItemProductionBatch, GRNItemSerializedProduct, GRNItemUnusableQtyDetail, GeneralLedgerAccount, GeneralLedgerAcctAsgntRule, GeneratedDocument, GeneratedDocumentSection, GeneratedWaste, GenericVisitTask, GenericVisitTaskContext, GeolocationBasedAction, GiftActuarialEntry, GiftAgreement, GiftBatch, GiftCmtChangeAttrLog, GiftCommitment, GiftCommitmentSchedule, GiftDefaultDesignation, GiftDefaultSoftCredit, GiftDesignation, GiftEntry, GiftRefund, GiftSoftCredit, GiftStewardship, GiftStewardshipActivity, GiftTransaction, GiftTransactionDesignation, GiftTribute, GiftValueForecast, GnrcVstKeyPerformanceInd, GnrcVstTaskContextRelation, Goal, GoalAssignment, GoalAssignmentDetail, GoalDefinition, GoalDefinitionProduct, GoodsReceivedNote, GoodsReceivedNoteItem, GovtFinancialAsstSum, GratefulPersonInvolvement, GroundTravelEmssnFctr, GroundTravelEnrgyUse, GroupCensus, GroupCensusMember, GroupCensusMemberPlan, GroupClass, GroupClassContribution, GrpCensusGrpClassSummary, GrpCensusMbrPlanSurcharge, HealthCondition, HealthConditionDetail, HealthRiskEvalDetail, HealthRiskEvalOutcome, HealthRiskEvaluation, HealthcareFacility, HealthcareFacilityNetwork, HealthcarePayerNetwork, HealthcarePractitionerFacility, HealthcareProvider, HealthcareProviderNpi, HealthcareProviderService, HealthcareProviderSpecialty, HealthcareProviderTaxonomy, HealthcareServiceDetail, HierCondHlthRskAdjFctr, HlthCareProvTreatedCondition, HotelStayEmssnFctr, HotelStayEnrgyUse, ITSrvcsConfigItemRela, ITSrvcsConfiguredItem, ITSrvcsIncdRelaCnfigItm, IdentityDocument, Image, ImpactRiskOpportunity, ImpactRiskOpportunityScore, ImpactRiskOpportunityTopic, ImpcRiskOppAssessment, ImpcRiskOppAssessmentTopic, InStoreLocation, Incident, IndexRate, IndividualApplication, IndividualApplicationItem, IndividualApplicationTask, IndividualApplicationTaskItem, IndividualApplnParticipant, IndvApplicationTaskParticipant, InflationRate, InfoAuthorizationRequest, InfoLibraryExternalDocument, InformationVerification, Inquiry, InquiryQuestion, InquiryQuestionAnswer, InsBnftEligDefinition, InsContributionPlnGroupCls, InsContributionPlnLineItem, InsPlcyLimit, InsPlcyLimitTracking, InsPolicyAssetRelatedObj, InsPolicyBenefitEligibility, InsPolicyBillingInfo, InsPolicyCoverageBenefit, InsPolicyCoverageNetwork, InsPolicyCvrRelatedObj, InsPolicyPtcpRelatedObj, InsPolicyRelatedObject, InsPolicyTransactionDetail, InsProductClauseVariableMap, InspectionAssessmentInd, InspectionType, InsuranceClaimAsset, InsuranceClause, InsuranceContract, InsuranceContractTrxn, InsuranceContributionPlan, InsurancePolicy, InsurancePolicyAsset, InsurancePolicyCoverage, InsurancePolicyMemberAsset, InsurancePolicyParticipant, InsurancePolicyProductClause, InsurancePolicySurcharge, InsurancePolicyTeamMember, InsurancePolicyTransaction, InsuranceProductClause, InsuranceProfile, InsuranceRatePlan, InsuranceRatePlanCommission, InsuranceRatePlanLineItem, IntakeFormSection, IntakeFormSectionPtcp, IntegratedPlan, IntegrationJobRun, IntegrationProviderDcsnRqmt, IntegrationProviderExecution, Interaction, InteractionAttendee, InteractionRelatedAccount, InteractionSumDiscussedAccount, InteractionSummary, InteropTopic, InteropTopicDetail, InteropTopicFilter, InteropTopicNtfcnResource, InteropTopicSubcrFilter, InteropTopicSubcrParameter, InteropTopicSubscription, InteropTopicSubscriptionDtl, InteropTopicTriggerCriteria, InvCountBatchUnusableQtyDtl, InvCountProdtUnusableQtyDtl, InvItemInstanceReservation, InventoryBatchItemReservation, InventoryCntSerializedProdt, InventoryCountAssessment, InventoryCountPlan, InventoryCountProductItem, InventoryItemPrice, InventoryReplenishmentPolicy, Invoice, InvoiceDocument, InvolvementGroup, InvolvementGroupMember, IssuedCard, JobExpenseType, JobPosition, JobPositionAssignment, JobPositionPayGrade, JobPositionQualification, JobPositionShift, JobPstnRecruitmentRqs, LaborUnion, LandingPage, LandingPageContent, LeadLineItem, LeadPreferredSeller, LearnerAchievement, LearnerAchievementMethod, LearnerPathway, LearnerPathwayItem, LearnerProfile, LearnerProgram, LearnerProgramPlanAdjAsgnt, LearnerProgramRequirement, LearnerProgramRqmtProgress, Learning, LearningAchievement, LearningAchvRequirement, LearningAchvRqmtGrpAsgnt, LearningAchvRqmtPlnAsgnt, LearningCourse, LearningEquivalency, LearningEquivalencyLearning, LearningEqvAchvMapping, LearningFoundationItem, LearningOutcomeItem, LearningOutcomeItemAdj, LearningPathwayTemplate, LearningPathwayTemplateItem, LearningPathwayTmplPgmPlan, LearningPgmPlanAdjSpec, LearningPgmPlanGrpAsgnt, LearningPgmPlanRqmtGroup, LearningProgram, LearningProgramPlan, LearningProgramPlanRqmt, LearningRule, LegalEntity, LegalEntyAccountingPeriod, LifeSciAcctGrpAssignment, LifeSciDocTemplateVersion, LifeSciEmailTemplate, LifeSciEmailTmplFragment, LifeSciEmailTmplRelaFrgmt, LifeSciEmailTmplSnapshot, LifeSciMktProdtCodeSet, LifeScienceDocument, LifeScienceDocumentTemplate, LifeScienceEmail, LifeScienceEmailFragment, ListEmail, LiveAgentSession, LiveChatTranscript, LoanApplicant, LoanApplicantAddress, LoanApplicantDeclaration, LoanApplicantEmployment, LoanApplicantIncome, LoanApplicationAsset, LoanApplicationFinancial, LoanApplicationLiability, LoanApplicationProperty, LoanApplicationTitleHolder, Location, LocationShippingCarrierMethod, LocationWaitlistedParty, LoyaltyMembershipLifecycle, LoyaltyPgmGroupMbrRlnsp, LoyaltyPgmPartnerCurrency, LoyaltyPgmPartnerPromotion, LoyaltyPgmPtnrPrepaidPack, LoyaltyProgram, LoyaltyProgramMbrPromotion, LoyaltyProgramMember, LoyaltyProgramMemberCase, MaintenanceAsset, MaintenancePlan, ManagedCareProgramPrfm, ManufacturingProgram, MarketingForm, MarketingLink, MarketingLinkContent, MarketingProgram, MarketingTactic, MarketingTacticTemplate, MaterialityAssessment, MaterialityMatrixScore, MaterialityStakeholder, MaterialityStkhldrCatg, MaterialityTopic, MaterialityTopicDocClauseSet, MaterialityTopicQstn, MaterialityTopicReference, MdseLimitTrxnSpec, MedReconRecommendation, MedReconStmtRecommendation, MedTherapyStmtReviewIssue, MediaChannel, MediaContentTitle, MediaPrintIssue, MediaTitleAvailAttribute, MediaTitleAvailability, MediaTitleReleaseDate, MediaTitleRevenue, MedicalInsight, MedicalInsightAccount, MedicalInsightGoalDef, MedicalInsightProduct, MedicationAdministration, MedicationAdministrationDtl, MedicationDispense, MedicationReconciliation, MedicationRequest, MedicationStatement, MedicationStatementDetail, MedicationTherapyReview, MedicationTherapyStmtReview, MedicinalIngredient, MeetingPlaybookStage, MemberPlan, MemberPlanCarePlan, MemberPlanMedicationStmt, MentoringProfile, MerchandiseLimit, MerchandiseLimitSpec, MerchandiseLimitTrxn, MerchandisingSection, MergeRequest, Metric, MfgProgramCpntFrcstFact, MfgProgramForecastFact, MfgProgramVariantFrcstFact, MngEvent, MngEventBudget, MngEventCapacityRsv, MngEventParticipant, MngEventProduct, MngEventPtcpDiscrepancy, MngEventResource, MngEventResourcePreference, MngEventRsrcPtcpRequest, MngEventSession, MngEventSessionParticipant, MngEventSuplProdtAsgnPtcp, MngEventSupplierProduct, MngEventTerritory, MngEventType, MonthlyUsageTrkgDataGap, MultipartyInfoAuthRequest, ObjectStateActionDefinition, ObjectStateDefinition, ObjectStateTransition, ObjectStateTransitionAction, ObjectStateValue, Obligation, Occupation, OccupationGroup, Offer, OfferGroupAssignedOffer, OfferListEmail, OfferProduct, OfferProductCategory, OmniAssessmentTask, OmniProcessAsmtQuestionVer, OmniProcessOmniAsmtTask, OmniScriptSavedSession, OperatingHoursHoliday, Opportunity, OpportunityLineItemRecipient, OpportunityLineItemSchdActual, OpportunityPreferredSeller, OpportunityProductCategory, OrdItmSpecInvTrxnSpec, OrdItmSpecMdseTrxnSpec, Order, OrderItemSpec, OrderItemSpecRule, OrderItemUsageRsrcGrant, OrderItemUsageRsrcPlcy, OrderSpec, OrderSpecAssortment, OrderSpecOrderItemSpec, OrderSummary, OrderUseRsrcChosenPolicy, OrgIncidentSummary, OrgPaymentPracSummary, OtherComponentTask, OtherEmssnFctrSet, OtherEmssnFctrSetItem, OthrLifecyclEmssnFctrSet, OthrLifecyclEmssnFctrSetItem, OutreachSourceCode, OutreachSummary, OvertimeApprover, OvertimeType, PartnerFundAllocation, PartnerFundClaim, PartnerFundRequest, PartnerMarketingBudget, PartnerStagedData, PartnerUnsoldInvLedger, PartnerUnsoldInventory, PartnershipAgreement, PartnershipPersonPlacement, PartyAppointmentRequest, PartyBusinessRegion, PartyCategory, PartyCertifiedCapacity, PartyConsent, PartyCreditPrflFinclAcct, PartyCreditProfile, PartyCreditProfileAlert, PartyCreditProfileFldVld, PartyCreditProfileInquiry, PartyExpense, PartyExpenseFldVld, PartyFinancialAsset, PartyFinancialAssetLien, PartyFinancialAssetRela, PartyFinancialAssetTerm, PartyFinancialLiability, PartyFinclAssetAddlOwner, PartyFinclAstFldVld, PartyFinclLiabAddlBrwr, PartyFinclLiabFldVld, PartyFundSource, PartyIdentityVerfFldVld, PartyIdentityVerification, PartyIdentityVerificationStep, PartyIncome, PartyIncomeFldVld, PartyPhilanthropicAssessment, PartyPhilanthropicIndicator, PartyPhilanthropicMilestone, PartyPhilanthropicOccurrence, PartyPhilanthropicRsrchPrfl, PartyPrflAddrFldVld, PartyPrflFldVld, PartyProfile, PartyProfileAddress, PartyProfileRisk, PartyProfileRiskFldVld, PartyPublication, PartyRelationshipGroup, PartyRoleRelation, PartySchedulePreference, PartyScreeningStep, PartyScreeningSummary, PartyScrnSumFldVld, PartyWealthSource, PartyWealthSrcRelaRecord, PatientImmunization, PatientImmunizationProtocol, PatientMedicalProcedure, PatientMedicalProcedureDetail, PayGrade, PayGradeStep, PayGradeStepLocation, PayGroup, PayPeriod, PayType, PaymentAdviceInvoiceRecile, PaymentAdviceReconciliation, PaymentCart, PaymentCartItem, PaymentInstrument, PaymentLink, PaymentMandate, PaymentRequest, PaymentRequestLine, PcmtEmssnFctrSet, PcmtEmssnFctrSetItem, PercentileBsdCareFeeAgreement, PersonAcademicCredential, PersonAffinity, PersonCompetency, PersonDisability, PersonEducation, PersonEmpFldVld, PersonEmployment, PersonExamination, PersonLifeEvent, PersonLocationAvailability, PersonTrait, PetitionType, PetitionableOutcome, PgmRebateTypBnftMapping, PickTicket, PickTicketAssignment, PlanBenefit, PlanBenefitItem, PlannedGift, PlannedGiftAnnuityRate, PlannedGiftPerformance, PltnImpactRiskOppSummary, Polygon, Position, PositionBenefit, PositionPayGrade, PositionQualification, PreliminaryApplicationRef, Presentation, PresentationClickStrmEntry, PresentationContent, PresentationForum, PresentationLinkedPage, PresentationPage, PresentationPageDependency, PresentationPageProduct, PresentationPartyAccess, PreventiveCareAgreement, PriceAdjustmentProductRule, PriceAdjustmentSchedule, PriceAdjustmentTier, PriceBookAcademicInterval, PriceBookEntryDerivedPrice, PriceBookPriceGuidance, PriceBookRateCard, PriceProtectExecLineItem, PriceProtectionExecution, PriceProtectionTerm, PriceRevisionPolicy, PricingAdjBatchJob, PricingAdjBatchJobLog, PricingApiExecution, PricingProcedureResolution, PricingProcessExecution, PriorLearningEvaluation, PrivacyHold, PrivacyHoldReason, PrivacyRTBFRequest, PrivacyRequest, Problem, ProblemDefRelationship, ProblemDefinition, ProblemGoalDefinition, ProcessException, ProdtAttrMappedScope, ProdtAttrScope, ProdtDecompEnrchVarMap, ProdtInvBtchSearchableFld, ProdtSvcCmpnDefPtnrInv, ProdtSvcCmpnDefRelaCausalItm, ProdtSvcCmpnGrpDefCausalItm, ProdtSvcCmpnGrpDefPtnr, ProdtSvcCmpnPreferredPartner, ProdtSvcCmpnWorkType, Producer, ProducerCommission, ProducerPolicyAssignment, ProducerRelationship, ProducerSplitArngLineItem, ProducerSplitArrangement, ProducerSplitAssignment, ProducerSplitRoleAssignment, Product2, ProductAttributeDefinition, ProductAvlSvcCatalogItem, ProductBatchItemQuantityDtl, ProductCatalog, ProductCatalogQual, ProductCategoryAttribute, ProductCategoryServiceProcess, ProductClassification, ProductClassificationAttr, ProductComponentGroup, ProductComponentGrpOverride, ProductConfigurationRule, ProductConsumed, ProductCoverage, ProductDetectedPriceChange, ProductEmissionsFactor, ProductFaultCode, ProductFee, ProductGuidancePrstDpnd, ProductInvSearchableField, ProductItem, ProductItemAddlTrxn, ProductItemQuantityDetail, ProductItemSpec, ProductItemTrxnSpec, ProductLaborCode, ProductListRate, ProductOverridePathItem, ProductPriceHistoryLog, ProductPriceRange, ProductRampSegment, ProductRelComponentOverride, ProductRelatedMaterial, ProductRequest, ProductRequestLineItem, ProductRqmtSpec, ProductRqmtSpecItem, ProductRqmtSpecVersion, ProductSellingModel, ProductServiceCampaign, ProductServiceCampaignItem, ProductSurcharge, ProductSvcCampaignDef, ProductSvcCampaignGrpDef, ProductSvcCmpnDefProdtBtch, ProductTransfer, ProductUnitOfMeasure, ProductUsageResourcePolicy, Program, ProgramApplnFormTemplate, ProgramCohort, ProgramCohortMember, ProgramEnrlEligibilityCrit, ProgramEnrollment, ProgramInitiative, ProgramInitiativeEnrl, ProgramProduct, ProgramRbtTypProdCategory, ProgramRbtTypeAcruSource, ProgramRbtTypeAggrField, ProgramRebateTypEligibility, ProgramRebateTypPayoutSrc, ProgramRebateType, ProgramRebateTypeAccrual, ProgramRebateTypeBenefit, ProgramRebateTypeFilter, ProgramRebateTypePayout, ProgramRebateTypeProduct, ProgramRebateTypeReference, ProgramRecommendationRule, ProgramTermApplnTimeline, Promotion, PromotionChannel, PromotionLimit, PromotionLimitUsage, PromotionMarketSegment, PromotionPresentation, PromotionProduct, PromotionProductCategory, PromotionQualifier, PromotionSegment, PromotionSegmentBuyerGroup, PromotionSegmentSalesStore, PromotionTarget, PromotionTier, ProviderAcctProductInfo, ProviderAcctTerritoryInfo, ProviderActivityGoal, ProviderActivityGoalLimit, ProviderActivityGoalMeasure, ProviderActvtyPlanAdjusment, ProviderAffiliation, ProviderAffiliationProduct, ProviderNetworkContract, ProviderNetworkTier, ProviderOffering, ProviderSampleLimit, ProviderSmplLmtTmplAssignment, ProviderVisit, ProviderVisitDtlProductMsg, ProviderVisitMarketingItem, ProviderVisitProdDetailing, ProviderVisitProdDiscussion, ProviderVisitRqstSample, PrstCntntUsageSummary, PrvdAccountTerritorySummary, PrvdActvtyGoalMeasureProdt, PrvdActvtyPlanAdjProdt, PrvdEngmtComplianceCycle, PrvdVstSmplDlvrReceipt, PrvdVstSmplDlvrReceiptItem, PrvdVstSmplLmtDiscrepancy, PrvdVstSmplLmtTransaction, PtnrInvItmRecon, PtnrInvItmReconTrace, PtnrInvRecon, PtyCrPrflFinclAcctActvty, PtyFinclAstAddOwnrFldVld, PtyFinclAstLienFldVld, PtyFinclLiabAddBrwrFldVld, PublicComplaint, PublicProgram, PulseCheck, PulseCheckTemplate, PurchaseOrder, PurchaseOrderItem, PurchaseQuantityRule, PurchaserPlan, PurchaserPlanCareProgram, QuotLineItmUsageRsrcPlcy, QuotLineItmUseRsrcGrant, QuotUseRsrcChosenPolicy, Quote, QuoteLineItemGroupClass, QuoteLineItemInsProductClause, QuoteLineItemRelatedObject, QuoteLineRecipientPrice, RateAdjustmentByAttribute, RateAdjustmentByTier, RateCard, RateCardEntry, RatingFrequencyPolicy, RatingRequest, RatingRequestBatchJob, RebateClaim, RebateClaimAdjustment, RebateMemberAggregateItem, RebateMemberClaimAggregate, RebateMemberProductAggregate, RebatePartnerSpecialPrcTrm, RebatePayment, RebatePayoutAdjustment, RebatePayoutSnapshot, RebatePgmMbrAcruAdjustment, RebateProgram, RebateProgramAccrualPeriod, RebateProgramActionableList, RebateProgramMember, RebateProgramMemberAccrual, RebateProgramMemberPayout, RebateProgramPayoutPeriod, RebatePtnrSpclPrcTrmBnft, ReceivedDocument, ReceivedDocumentType, RecordAlert, RecordAlertActionableTarget, RecruitmentContentSection, RecruitmentPosting, RecruitmentPostingCntntSect, RecruitmentRequisition, RecruitmentRequisitionLoc, RecruitmentRequisitionPtcp, ReferenceDataLoadLog, Referral, RefrigerantEmssnFctr, RegAuthorizationTypeProduct, RegClCmplControlVer, RegClCmplPlcyClVer, RegltClaimStatement, RegltClaimStatementGeoCtry, RegltCntnt, RegltCntntAnnotation, RegltCntntAnnotationCmnt, RegltCntntClaimStatement, RegltCntntDesignatedRole, RegltCntntDsgtRoleAssignee, RegltCntntEngmtChannelType, RegltCntntGeoCountry, RegltCntntProcess, RegltCntntProcessStatus, RegltCntntProduct, RegltCntntRendition, RegltCntntRole, RegltCntntShareActionTgt, RegltCntntSharingAction, RegltCntntStatus, RegltCntntType, RegltCntntTypeRole, RegltCntntTypeRoleAssignee, RegltCntntVersion, Regulation, RegulationClause, RegulationClauseVersion, RegulationIngestedData, RegulationParticipant, RegulationVersion, RegulatoryAuthority, RegulatoryAuthorizationType, RegulatoryCode, RegulatoryCodeAssessmentInd, RegulatoryCodeViolation, RegulatoryTrxnFee, RegulatoryTrxnFeeItem, ReinsAgreementLineItem, ReinsPolicyBordereauFact, ReinsProtocolProdtComponent, ReinsuranceAgreement, ReinsuranceProtocol, ReinsuranceProtocolAgreement, RelaAnlssNode, RelaAnlssNodeRela, RelaAnlssNodeRelaEvid, RelaAnlssSource, RelationshipAnalysis, Release, RentalCarEmssnFctr, RentalCarEnrgyUse, ReportedConsumption, Repossession, RepossessionActivity, RepossessionItem, RepossessionItemCost, RepossessionItemCostDetail, RepossessionItemProcessingHold, RepossessionItemUser, RepossessionItemVendor, RepossessionItmProcHld, RepossessionNoticeLog, RepossessionNoticeRule, RequestForProposal, RequestForProposalOpp, RequestForProposalTeamMbr, ResearchStdyCmprGroupCndt, ResearchStdyCndtStatusPrd, ResearchStdyRandomization, ResearchStdySearchableField, ResearchStudy, ResearchStudyCandidate, ResearchStudyCmprGroup, ResearchStudyProtocolInfo, ResearchStudyRelation, ResearchStudyRndmBlockSlot, ResidentialLoanApplication, ResourceAbsence, ResourceCallOut, ResourceCallOutAssignment, ResourceCallOutAttempt, ResourceCallOutRequirement, RestrictedParty, RetailLocationGroup, RetailStore, RetailStoreGroupAssignment, RetailStoreKpi, RetailVisitKpi, ReturnOrder, ReturnOrderLineItem, RightsQuote, RightsQuoteLineItem, RightsQuoteLineMediaTitle, Risk, RiskBusinessOpsProcess, RiskCmplCtlVersion, RiskEvalSurveyInvt, RiskEvaluation, RiskParticipant, RiskPolicyClauseVersion, RiskRegClauseVersion, RiskRelatedScope, RiskScenario, RiskScopeType, Route, RsrchStdyRandomizationBlock, RsrchStdyRandomizationCrit, SOSSession, SalesAgreement, SalesContractLine, SalesContractLineItem, SampleRequest, SampleRequestItem, ScheduleBrdcstApptResource, ScheduleBroadcast, ScheduleBroadcastAppointment, ScheduleBroadcastTerritory, SchedulingWorkspace, SchedulingWorkspaceTerritory, Scope3CrbnFtprnt, Scope3EmssnSrc, Scope3PcmtItem, Scope3PcmtSummary, SearchableReferenceDocument, SecuritiesHolding, SellerProduct, SequenceGapReconciliation, SequencePolicy, ServiceAppointment, ServiceAppointmentAsset, ServiceAppointmentDependency, ServiceAppointmentGroup, ServiceContract, ServiceCrew, ServiceCrewMember, ServiceInfoRequestDetail, ServiceInfoRequestOperation, ServiceInfoRespOvrideOpt, ServiceInfoRespResourceUrl, ServiceInfoRespSuggestion, ServiceInfoResponseAction, ServiceInfoResponseCoverage, ServiceInfoRqstOpOutcome, ServiceInformationRequest, ServiceInformationResponse, ServiceOutage, ServiceOutageIncident, ServiceOutageServicePoint, ServicePoint, ServiceRequest, ServiceResource, ServiceResourceCostRule, ServiceResourceLeaveBalance, ServiceScheduleRequest, ServiceTerritoryRelationship, SharedSavingPaymentAgreement, Shift, ShiftAllocationRequest, ShiftPattern, ShiftPatternEntry, Shipment, ShipmentItem, ShippingCarrier, ShippingCarrierMethod, SignatureTask, SignatureTaskLineItem, SocialContributionSum, Solution, SourceCodeRepoProvider, SourceCodeRepository, SourceCodeRepositoryBranch, Specimen, Sprint, SrvcMgmntRecEvntAsgnt, StageTransitionEntry, StandardCareFeeAgreement, StgTrnsUndwrEvaluation, StnryAssetAnnualFact, StnryAssetCrbnFtprnt, StnryAssetCrbnFtprntItm, StnryAssetEnrgyUse, StnryAssetEnvrSrc, StnryAssetWaterActvty, StnryAssetWaterFtprnt, StnryAssetWtrFtprntItm, StockRotExecItem, StockRotationExecution, StoreActionPlanTemplate, StoreAssortment, StoreProduct, Subject, SubjectAssignment, SubjectMaterialTemplate, SubjectProduct, SuccessTeam, SuggestedAssessmentDef, SuggestedAssessmentReason, SupplementalCompensation, Supplier, SupplierProduct, SupplierProductLocation, SupplierProductRelation, Surcharge, SurveyQstnResponseOffline, SurveyQuestion, SurveyResponseOffline, SustainabilityCredit, SustainabilityPurchase, SustainabilityScorecard, SustainabilityStakeholder, SustainabilityTask, SustainabilityTaskGroup, SustnMaterialUseSummary, SvcInfoRelatedQuestionnaire, SvcInfoRespCoverageDetail, SvcSchdRequestTerr, TagCategory, TaxDisclosureSummary, Team, TeamMember, TelemetryActionRelatedProcess, Term, TerrGeoAssignmentRule, TerrProvAffilAssignRule, TerritoryAccountScore, TerritoryAcctProdMsgScore, TerritoryAcctRcmdAction, TerritoryBusinessPlan, TerritoryContentTmplAsgnt, TerritoryProdtQtyAllocation, TerritoryUserDowntime, TimeSheet, TimeSheetEntry, TimeSheetEntryItem, TimeSheetValidationError, TimeSheetWageTypeSummary, Tour, TourTemplate, TrackedCommunication, TrackedCommunicationDetail, TradeDgtSgnSpecSet, TradeScheme, TrainingCourseParticipant, TransactionUsageEntitlement, TransitTime, TravelMode, TrdeMobPrcCalcSchm, TrdeMobPrcCalcSchmDter, TrdeMobPrcCalcSchmStep, TrdeMobPrcKeyAttribute, TrdeMobPrcKeyType, TrdeMobPrcSpec, TrdeMobPrcSrchStrategy, TrdeMobPrcSrchStrtgyStp, TrnCourse, UnderwritingRule, UnderwritingRuleGroup, UnitOfMeasureConversion, UsageBillingPeriodItem, UsageCmtAssetRelatedObj, UsageCommitmentPolicy, UsageEntitlementAccount, UsageEntitlementBucket, UsageEntitlementEntry, UsageImpactFactor, UsageImpactGroup, UsageImpactGroupFactor, UsageImpactGroupPgmMeasure, UsageImpactGroupVersion, UsageOveragePolicy, UsageRatableSumCmtAssetRt, UsageRatableSummary, UsageResourcePolicy, UsageSummary, UserEsignVendorIdentifier, UserFinancialAuthority, UserLocationAssignment, UserReaction, Vehicle, VehicleAssetCrbnFtprnt, VehicleAssetEmssnSrc, VehicleAssetEnrgyUse, VehicleUserAssignment, VendorProject, VettingEvaluation, VideoCallPtcpRequest, VideoCallPtcpSession, ViolationEnforcementAction, ViolationType, ViolationTypeAssessmentInd, Visit, VisitedParty, VolunteerInitiative, VolunteerProject, Waitlist, WaitlistParticipant, WarrantyTerm, WarrantyTermCoverage, WasteFootprint, WasteFootprintItem, WatchlistedLearner, WebCartActivity, WebCartDocument, WebStoreMessageContent, WebStorePricebook, WorkCoaching, WorkGoal, WorkItem, WorkItemComponent, WorkItemComponentList, WorkOrder, WorkOrderDiagnosis, WorkOrderLineItem, WorkOrderLineItemPayerCtrb, WorkOrderResourceCallOut, WorkOrderSource, WorkPlan, WorkPlanSelectionRule, WorkPlanTemplate, WorkPlanTemplateEntry, WorkProcedure, WorkProcedureStep, WorkReport, WorkReportLineItem, WorkStep, WorkStepTemplate, WorkTypeAssetType, WorkTypeCareSpecialty, WorkTypeCodeSetBundle, WorkTypeExtension, WorkTypeGroupRole, WorkTypeStep, WorkTypeStepLdTimeOvride, WorkerCompCoverageClass, WstDispoEmssnFctrSet, WstDispoEmssnFctrSetItm, YearlyUsageTrkgDataGap
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 26.0
-
Description:
ID of the inbound or outbound email message the current email message is a reply to. It’s not possible to reply to a message whose
StatusisDraft.This is a relationship field.
This is only set for Case related Email replies at setup.
-
Relationship name: ReplyToEmailMessage
-
Relationship type: relationship
-
Refers to: EmailMessage
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 62.0
- Description: When Sync Email as Salesforce Activity is enabled, this value reflects from where the email was captured automatically.
- Possible values:
- Einstein Activity Capture — Einstein Activity Capture — Captured as an entire email message by Einstein Activity Capture.
- Einstein Activity Capture Limited — Einstein Activity Capture Limited — Captured as a header-only email by Einstein Activity Capture. The sender, recipients, date, and time of the message were captured, not the subject or body.
- Email Integration App Manual — Email Integration App Manual
- Migrated Captured Email — Migrated Captured Email
- Migrated Captured Email Header Only — Migrated Captured Email Header Only
-
Type: picklist
-
Properties: Create, Filter, Group, Restricted picklist, Sort, Update
-
Description:
The status of the email.
The
Statusfield is mostly read-only. You can change the status only fromNewtoRead.For emails not sent as part of a case, only the status
3(Sent) is valid. -
Possible values:
- 0 — 0
- 1 — 1
- 2 — 2
- 3 — 3
- 4 — 4
- 5 — 5
-
Type: string
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
The subject line of the email.
You can’t send emails unless at least one of these fields has content.
- Subject field
- HTML Body or Text Body field
As the sender, you can provide the content, or it can be automatically inserted using predefined values. An email template can also include the content for these fields.
-
Type: textarea
-
Properties: Create, Nillable, Update
-
Description:
The body of the email, in plain text format. If
TextBodyisn’t set, then it’s extracted fromHtmlBody.You can’t send emails unless at least one of these fields has content.
- Subject field
- HTML Body or Text Body field
As the sender, you can provide the content, or it can be automatically inserted using predefined values. An email template can also include the content for these fields
- Type: string
- Properties: Create, Filter, idLookup, Nillable, Sort, Update
- Introduced: API version 39.0
- Description: The ID of the email thread the email message belongs to. This field is used by features that sync emails directly from an inbox into Salesforce. This field is not used by On-Demand Email-to-Case.
-
Type: string
-
Properties: Create, Filter, Nillable, Sort, Update
-
Description:
A string array of email addresses for recipients who were sent the email message. Include only email addresses that aren’t associated with Contact, Lead, or User records in Salesforce. If the recipient is a contact, lead, or user, add their ID to the
ToIdsfield instead of adding their email address to theToAddressfield. Then the email message is automatically associated with the contact, lead, or user.You can’t send emails unless there’s at least one recipient.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 38.0
-
Description:
A picklist value with either the sender’s address, org-wide email addresses, or Email-to-Case routing address. The email address must be verified. If the sender’s email address is used, the sender must be the current user.
ValidatedFromAddressisn’t suitable for use in Group By or Sort By statements. UseFromAddressinstead.
EmailMessage is limited to 50 custom fields.
If your org uses Email-to-Case, a case is created when an email is sent to one of your company’s addresses. The email, which is related to the case by the ParentID field, is stored as an EmailMessage record. When users view the email, they see the EmailMessage record.
If your org uses Enhanced Email, each email is stored as an EmailMessage record and a Task record. When users view an email, they see the EmailMessage record.
In an org with Email-to-Case enabled, an inbound (Incoming = true) email with case as the parent record won’t create a task automatically. This functionality respects the Create Task from Email setting for each Email-to-Case routing address.
If you would like to change the recipients or contents of an outbound email, don’t use automation tools, like Flows or Apex triggers, to update EmailMessage records. Unless they are for a draft, updates to EmailMessage records will not be reflected in the actual sent email. To update an email’s data before it’s sent, use Quick Action predefined values or a QuickActionDefaultsHandler.
When a Flow creates an EmailMessage with set values in the audit fields (like CreatedBy and CreatedDate), any FeedItem automatically created for that EmailMessage will not share the same audit field values.
This sample logs email activity in Salesforce.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
- EmailMessageChangeEvent: Introduced in API version 48.0.