In this recipe, we will cover how to send emails that will be send towards customers. An email that is sent in response to an action by a user, for example, a confirmation email or an alert email, is called a transactional email. Due to spam protection and other limitations, it is better to implement this kind of email with the help of external tools.
In this recipe, we will use Mailgun (https://www.mailgun.com), which is able to send this kind of email, as well as communicate responses.