[SalesForce] See received emails in Activity History

Is there a way i can see all sent and received emails (related to a Case) in its "Activity History"

Email-to-Case shows everything in Email related list. "Activity History" only shows the sent emails.

Email-to-Salesforce seems impractical for this scenario.

From what i understand, "Activity History" is a readonly object, so i doubt i can mess around with it through some code (like create an "ActivityHistory" record for every received email).

Any suggestions? Is it possible?

Best Answer

ActivityHistory is nothing more than either a Task or an Event record with a closed status. You could write a trigger on EmailMessage and create a closed Task or an Event with the incoming email body.

Related Topic