The following post explains how to send a complex, stylized table formatted email with data records from your Salesforce system. For this, we will be using Visualforce Email Template, Visualforce Component with an apex custom controller. The visualforce component will be placed in the email template; the custom controller will pull the required data from Salesforce using …