Restore the email-delivery path for large exports, with a safe inline fallback.
Scope
- Restore
config/templates/data-privacy-email.html (handlebars; params firstName, exportedAt).
- Wire
getMail in users.data.controller to mailer.sendMail with the JSON export as a 25 MB-capped attachment.
- Fall back to inline JSON when the mailer is unconfigured OR the export exceeds the cap (never silently email to nowhere).
DoD
Depends on: GDPR export+erasure controller.
Created via /dev:issue
Restore the email-delivery path for large exports, with a safe inline fallback.
Scope
config/templates/data-privacy-email.html(handlebars; paramsfirstName,exportedAt).getMailinusers.data.controllertomailer.sendMailwith the JSON export as a 25 MB-capped attachment.DoD
getMailemails when configured, returns inline when not; size-gate test./verifygreen.Depends on: GDPR export+erasure controller.
Created via /dev:issue