Using AWS Lambda Function and SES.
$ npm install
- Create IAM user with policies to call AWS Lambda Function and send Email with SES.
- Configure SES and verify your email or domain.
- Create new Lambda Function
{
"FROM_MAIL"=""
"FRONTEND_URL"=""
"REGION"=""
}
{
"Records": [
{
"body": "{\"toEmail\":\"{myEmail}\",\"type\":\"create\",\"name\":\"{myName}\",\"token\":\"{randomToken}\"}"
}
]
}