Lambda function that sends Gmail emails
- Create a
config.yml
file in the root folder - Copy & paste the content from
config.example.yml
toconfig.yml
- Replace the values with your data
- Setup credentials for AWS lambda: https://serverless.com/framework/docs/providers/aws/guide/credentials/
- Run
serverless deploy
Request a POST method to the lambda's endpoint with the following JSON format:
{
"subject": "My email",
"text": "email content"
}