summaryrefslogtreecommitdiff
path: root/internal/templates/embed.go
AgeCommit message (Collapse)Author
2024-08-17fix: email template ux (#7654)James Elliott
Adjusts the email templates to use a well known email HTML generator called react email. This also adds a very useful preview option for the templates for testing purposes. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Brynn Crowley <littlehill723@gmail.com>
2022-07-18fix(notification): incorrect date header format (#3684)James Elliott
* fix(notification): incorrect date header format The date header in the email envelopes was incorrectly formatted missing a space between the `Date:` header and the value of this header. This also refactors the notification templates system allowing people to manually override the envelope itself. * test: fix tests and linting issues * fix: misc issues * refactor: misc refactoring * docs: add example for envelope with message id * refactor: organize smtp notifier * refactor: move subject interpolation * refactor: include additional placeholders * docs: fix missing link * docs: gravity * fix: rcpt to command * refactor: remove mid * refactor: apply suggestions Co-authored-by: Amir Zarrinkafsh <nightah@me.com> * refactor: include pid Co-authored-by: Amir Zarrinkafsh <nightah@me.com>