Salesforce inbound email are automated processes that uses Apex class to process the Attachments, Headers and Contents of an inbound email.
We can associate each email service with one or more Salesforce-generated email addresses through which users can send messages for processing.
Use of Apex In Salesforce Email Services
Apex class act as a medium to process incoming email messages. When we set up an email service in salesforce, we need to generate a special email address in which salesforce will receive emails.
We can use Apex to receive and process email and attachments from the external system to the Salesforce Platform.
The email that is sent by the external user is received by the Apex email service in salesforce and processed by Apex classes that uses the Inbound Email object. Continue reading