@epicdm/flowstate-mail
v1.0.7
Published
Mail service with template support and pluggable adapters
Maintainers
Readme
@epicdm/flowstate-mail
Mail service with Handlebars template support and pluggable adapters.
Provides a minimal mail-sending API backed by the transport of your choice (SendGrid or Nodemailer), with first-class Handlebars template rendering so transactional emails stay in version control alongside your code.
Installation
yarn add @epicdm/flowstate-mail
# or
npm install @epicdm/flowstate-mailInstall whichever transport you want as an optional peer dependency:
# SendGrid
yarn add @sendgrid/mail
# or Nodemailer (SMTP, SES, etc.)
yarn add nodemailerUsage
import {} from /* mail service */ '@epicdm/flowstate-mail'See the package's TypeScript declarations for the full list of exports and transport configuration options.
License
Apache-2.0 © Epic Digital Interactive Media LLC
