To send emails, we will use the Amazon Simple Email Service, or SES, which we will wrap in the SesClient class in the api module.
The Simple Email Service API is quite simple. We need to create a Destination, which tells the system to whom to send the emails; a Message that describes the message itself, including subject, body, and recipients; and a SendEmailRequest that ties everything together:
private ...