serverless-email-scheduler
serverless-email-scheduler copied to clipboard
Schedule future emails with AWS Lambda and Step Functions
Serverless Email Scheduler
A Serverless template with Lambda functions for scheduling future emails from your app using AWS Lambda and Step Functions.
Pre-requisites
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 installin the root folder - Open
serverless.ymland modify theEMAIL_SENDER_ADDRESSsetting to be the email address you verified in step 1.
Deploy and Run
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