tabby/ee/tabby-email
Meng Zhang 5027d466ed
chore(email): fix build (#2215)
* chore(email): fix build

* update
2024-05-21 15:07:43 -07:00
..
components
emails
.gitignore
package.json chore(email): fix build (#2215) 2024-05-21 15:07:43 -07:00
README.md

Add new email template for Tabby

  • Navigate to ee/tabby-email/emails
  • Run yarn && yarn dev
  • This will start a webserver and show a link where you can preview emails
  • Copy existing email templates to create new emails
  • Run make update-email-templates to generate html files from your react email
  • Go to ee/tabby-webserver/src/service/email/templates.rs and add a new function for your template
  • Add a function in the EmailService trait to send your new email and implement it in ee/tabby-webserver/src/service/email/mod.rs