@dao-dao/email

2.4.0-rc.8 • Public • Published

@dao-dao/email

Email templates to generate DAO DAO emails.

Usage

Render template

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.

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 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @dao-dao/email

Weekly Downloads

2

Version

2.4.0-rc.8

License

BSD-3-Clause-Clear

Unpacked Size

16.3 kB

Total Files

17

Last publish

Collaborators

  • noahsaso
  • ekez
  • ebaker
  • common-garden