Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
fix(templates): inject reserved posta_* vars in version preview
Jonas Kaninda5bcf77b9c5ad
diff --git a/internal/handlers/template_localization_handler.go b/internal/handlers/template_localization_handler.goindex beff4a0..c34c0bf 100644--- a/internal/handlers/template_localization_handler.go+++ b/internal/handlers/template_localization_handler.go@@ -218,6 +218,7 @@ func (h *TemplateLocalizationHandler) Preview(c *okapi.Context, req *PreviewLocaif data == nil {data = map[string]any{}}+ data = email.WithSystemVarNames(data)// Build render input from the localizationvar css string