A Serverless template with Lambda functions for scheduling future emails from your app using AWS Lambda and Step Functions.
You need an AWS account. Complete the following steps:
- Verify an email address in SES from which emails will be sent from
- Configure your AWS credentials
- Run
npm install
in the root folder - Open
serverless.yml
and modify theEMAIL_SENDER_ADDRESS
setting to be the email address you verified in step 1.
Deploy:
npm run deploy
To invoke with test data, first modify data/test-request.json
to set the "to" email address and due date. Then run:
npm run invoke