feat(email): configurable reply-to address (#3140)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-02 23:26:01 +02:00
1 parent 98fa41dcf0
commit 811341bc2f
16 files changed
+138 -1

No files matched your search

+1
View File
@@ -248,6 +248,7 @@ export function buildAPIConfigFromMaster(master: MasterConfig): APIConfig {
webhookSecret: master.integrations.email.webhook_secret ?? undefined,
fromEmail: master.integrations.email.from_email,
fromName: master.integrations.email.from_name,
replyToEmail: master.integrations.email.reply_to_email,
appBaseUrl: resolveEmailAppBaseUrl(master),
smtp: master.integrations.email.smtp
? {
+1
View File
@@ -155,6 +155,7 @@ export interface APIConfig {
webhookSecret?: string;
fromEmail: string;
fromName: string;
replyToEmail: string;
appBaseUrl: string;
smtp?: {
host: string;
@@ -187,6 +187,7 @@ function createEmailServiceForConfig(
enabled: emailConfigSource.enabled,
fromEmail: emailConfigSource.fromEmail,
fromName: emailConfigSource.fromName,
replyTo: emailConfigSource.replyToEmail || null,
appBaseUrl: emailConfigSource.appBaseUrl,
marketingBaseUrl: Config.endpoints.marketing,
};