function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jon Simmonds 11Jon Simmonds 11 

Are EmailMessage records only created for certain types of emails? And can emails be used with Person Accounts?

Are records only created in the EmailMessage object for ceertain types of emails sent from the org?

I have read somewhere that an EmailMessage record is only created when sending an email from the org if the email is asscoiated with object such as Case or Policy.

We have a community which sends an email to a Person Account email address, the setTargetObjectId() method is set to the Person Account ContactId.
The email is sent and recieved at the email address, yet there is no EmailMessage record created. Is this correct and how it works?

Is it possible to asscoiate an EmailMessage to a Person Account record and see it on an associated related list?