feat(scripts): add send-email script using nodemailer

Add a sandboxed send-email.js workflow script with SMTP settings
exposed via script config and password loaded from named secrets.
Allow nodemailer in the script sandbox require whitelist.

Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
This commit is contained in:
Cursor Agent
2026-08-15 01:04:34 +00:00
co-authored by nsrb
parent 5bfbafeb91
commit 13a46188ba
4 changed files with 159 additions and 1 deletions
+1
View File
@@ -22,6 +22,7 @@
"knex": "^3.3.0",
"node-cron": "^4.6.0",
"node-html-parser": "^9.0.1",
"nodemailer": "^9.0.5",
"pino": "^10.3.1",
"pino-roll": "^4.0.0",
"yaml": "^2.9.0"