Email mark.mullings@blackdice.ai on every toolkit submission

Adds an SMTP-based notification (server/mailer.js) that fires whenever
a visitor registers or downloads an ROI report, configured via
NOTIFY_EMAIL/SMTP_* env vars.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 16:23:31 +05:00
co-authored by Claude Sonnet 5
parent 214efa2bce
commit 28041e6d15
6 changed files with 89 additions and 2 deletions
+9
View File
@@ -12,3 +12,12 @@ DB_CA_PATH=
ALLOWED_ORIGIN=https://toolkit.blackdice.ai
PORT=8080
# SMTP settings used to notify the team whenever a visitor submits data
# (registration or ROI report download). Leave blank to disable notifications.
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
NOTIFY_EMAIL=mark.mullings@blackdice.ai