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:
@@ -98,6 +98,10 @@ Everything in `public/` is published by `npm run build`; delete `standalone.html
|
||||
`server/` is a small Express + SQL service that receives the webhook events
|
||||
(`POST /api/webhook`). Point `VITE_CRM_WEBHOOK_URL` at it and set `VITE_CRM_PROVIDER=webhook`.
|
||||
|
||||
It also emails a notification to `NOTIFY_EMAIL` (see `server/.env.example`) every time a
|
||||
visitor registers or downloads an ROI report. Set `SMTP_HOST`/`SMTP_USER`/`SMTP_PASSWORD`
|
||||
to enable it; leave `SMTP_HOST` blank to disable.
|
||||
|
||||
## Project map
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user