Mail event in email logs salesforce

In Salesforce, the "Mail Event" is a type of event that is recorded in the email logs when an email is sent or received. Here are some details about Mail Events in Salesforce:

What is a Mail Event?

A Mail Event is an event that is triggered when an email is sent or received in Salesforce. This event is recorded in the Email Log object, which is a custom object in Salesforce that stores information about emails sent and received.

Types of Mail Events

There are two types of Mail Events in Salesforce:

  1. Sent Mail Event: This event is triggered when an email is sent from Salesforce, such as when a user sends an email from the Salesforce interface or when a workflow rule sends an email.
  2. Received Mail Event: This event is triggered when an email is received by Salesforce, such as when an email is sent to a Salesforce user's email address or when an email is forwarded to a Salesforce user's email address.

Fields in a Mail Event

A Mail Event record contains the following fields:

Using Mail Events in Salesforce

Mail Events can be used in various ways in Salesforce, such as:

Best Practices

Here are some best practices to keep in mind when working with Mail Events in Salesforce: