Files
accounted/extensions/general/email/manifest.json
T
Jakob Wennberg 523fba0419 feat(email): SMTP mailer behind the EmailService seam (EMAIL_PROVIDER=smtp); Resend stays the hosted default (#1746)
SmtpEmailService (nodemailer 9.0.5, exact-pinned) behind the existing EmailService seam. Provider resolution: EMAIL_PROVIDER wins, else RESEND_API_KEY selects Resend (hosted byte-identical), else SMTP_HOST selects SMTP. From header is built exactly like the Resend service after #1956 (no 'via <app>', fromAddress honored, platform-sender retry). STARTTLS is required by default (requireTLS) with SMTP_REQUIRE_TLS=false as an explicit opt-out for a plaintext LAN relay. Docs, env examples and the generated extension registry updated.
2026-08-30 11:54:47 +02:00

40 lines
1.0 KiB
JSON

{
"id": "email",
"sector": "general",
"exportName": "emailExtension",
"entryPoint": "@/extensions/general/email",
"workspace": null,
"requiredEnvVars": [],
"optionalEnvVars": [
"EMAIL_PROVIDER",
"RESEND_API_KEY",
"RESEND_FROM_EMAIL",
"RESEND_DELIVERY_WEBHOOK_SECRET",
"SMTP_HOST",
"SMTP_PORT",
"SMTP_SECURE",
"SMTP_USER",
"SMTP_PASS",
"SMTP_FROM_EMAIL",
"SMTP_REQUIRE_TLS",
"SMTP_TLS_REJECT_UNAUTHORIZED"
],
"npmDependencies": [
"resend",
"nodemailer"
],
"definition": {
"name": "E-post",
"category": "operations",
"icon": "Mail",
"dataPattern": "core",
"readsCoreTables": [
"invoices",
"customers",
"company_settings"
],
"description": "Skicka fakturor och påminnelser via e-post",
"longDescription": "Aktiverar e-postfunktioner: skicka fakturor till kunder, automatiska betalningspåminnelser enligt valt schema, och e-postmeddelanden. Kräver ett Resend-konto med verifierad domän eller en egen SMTP-server (EMAIL_PROVIDER=smtp)."
}
}