A small lib to automate sending weekly catchup emails to the team
git clone https://github.com/etiennemarais/team-press-release.git
yarn install
3. To send a mail you can edit the <team>-weekly-catchup.mjml
file in the project root. Icons are a treat. I upload free to use icons to an open github issue so I can use that url in my email template since inlining of images does not work. I use this repo (https://icons8.com/icon/new-icons)
4. VSCode has a nice plugin, (https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml) to view the template result as you type it.
In your project root you need to set the .env file for the SENDGRID_API_KEY
# Test send a mail to yourself Available options
yarn test "Some Subject here"
# Send to team but using your own template, this will add all the config recipients
yarn send "Some Subject here"
# Render the template only as an html file
yarn render
Icon pack by Icons8 You should check them out, it's a great resource.