add brevo email

This commit is contained in:
Emily
2024-08-30 16:26:53 +02:00
parent 518b4ce6c1
commit 6d26c3c8af
17 changed files with 2636 additions and 216 deletions

View File

@@ -51,6 +51,7 @@ export default defineEventHandler(async event => {
const savedUser = await newUser.save();
setImmediate(() => {
console.log('SENDING WELCOME EMAIL TO', payload.email);
if (payload.email) EmailService.sendWelcomeEmail(payload.email);
});