Send email globally via flow
The SendEmailGloballyController Apex class serves the purpose of facilitating global email sending within Salesforce through the utilization of Flows. By invoking this class from a Flow process, users can efficiently send emails based on specified parameters like email template, recipient email addresses, sender email address, and sending mode preferences.