Shared package for email templates and methods. It uses [Maizzle](https://maizzle.com) for developing and compiling email templates with the aid of TailwindCSS.
npm install @wattmore/notificationsShared package for email templates and methods. It uses Maizzle for developing and compiling email templates with the aid of TailwindCSS.
#### Development
``bashInstall dependencies
npm install
#### Publishing
`bash
Bump the version
npm version patchBuild templates and compile via Rollup
npm run buildPublish to NPM
npm publish --access public
`
#### Usage
Sending a reset password email
`jsx
const { sendResetPasswordEmail } = require('@wattmore/notifications');await sendResetPasswordEmail({
name: user.profile.firstName,
to: user.email,
emailLink:
${process.env.BASE_URL}/forgot-password?token=${token},
});``