Migration m22: coda notifiche_email_coda, preferenze_utente, trigger che accoda ogni notifica di notifiche_utente e tre funzioni RPC riservate alla service role. Worker in mailer/ (bun + nodemailer, solo polling in uscita) con backoff, tetto giornaliero e healthcheck. Interruttore «Email» in Profilo → Opzioni, acceso di default. Test unit e di integrazione; documentazione aggiornata (DD-036 accettata). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 lines
244 B
JSON
13 lines
244 B
JSON
{
|
|
"name": "crapp-mailer",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Worker delle notifiche email di CrAPP (M22, DD-036)",
|
|
"scripts": {
|
|
"start": "bun mailer.mjs"
|
|
},
|
|
"dependencies": {
|
|
"nodemailer": "^10.0.11"
|
|
}
|
|
}
|