fix: add project name and sender email parameters to phishing content check

This commit is contained in:
Dries Augustyns
2026-04-22 22:03:57 +02:00
parent 15294a40d8
commit 1637d54e1b
+2
View File
@@ -150,6 +150,8 @@ export async function createEmailWorker() {
// Check for phishing/dangerous content before sending
const phishingCheck = await SecurityService.checkPhishingContent(
email.projectId,
email.project.name,
email.from,
formattedEmail.subject,
compiledHtml,
);