No dependencies required, just have your plugin serve templates (add the template
option into plugin.json
), and in that template folder, have a folder called emails
, and place your template in there.
Also place a corresponding plaintext one with the suffix _plaintext
.