@dao-dao/email
v2.7.1-rc.5
Published
Email templates to generate DAO DAO emails.
Readme
@dao-dao/email
Email templates to generate DAO DAO emails.
Usage
Render template
yarn renderThis will render all emails in the emails directory and output a
template in the templates directory, formatted for the AWS SES
Template
API.
Upload template to AWS SES
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 commandThe 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.
