
Send an email with Amazon SES from an AWS Lambda function behind an Amazon API Gateway REST API.
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-lambda-sessam buildsam deploy --guidedapiGatewayInvokeURL stack output, for example curl https://{api-id}.execute-api.{region}.amazonaws.com/sendEmail, then check the recipient's inbox.sam delete.