Email templates to generate DAO DAO emails.
yarn render
This will render all emails in the emails
directory and output a
template in the templates
directory, formatted for the AWS SES
Template
API.
This script manages templates stored in AWS SES. To set it up, create a .env
file based on the .env.example
file, and fill in the credentials.
$ yarn ses -h
Usage: ses [options]
Options:
-s, --set <name> create a new template or replace an existing one
-l, --list list all templates
-d, --delete <name> delete a template
-h, --help display help for command
The name for set
is the name of the file without the .tsx
prefix in the
emails/
folder. The name for delete
is the name of the template in AWS SES,
which is defined inside the template.