diff --git a/packages/emails/templates/attendee-request-email.ts b/packages/emails/templates/attendee-request-email.ts index ac30bb35d0..22367aaa50 100644 --- a/packages/emails/templates/attendee-request-email.ts +++ b/packages/emails/templates/attendee-request-email.ts @@ -10,6 +10,7 @@ export default class AttendeeRequestEmail extends AttendeeScheduledEmail { return { from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [...this.calEvent.attendees.map(({ email }) => email), this.calEvent.organizer.email], subject: `${this.calEvent.attendees[0].language.translate("booking_submitted_subject", { title: this.calEvent.title, date: this.getFormattedDate(), diff --git a/packages/emails/templates/organizer-location-change-email.ts b/packages/emails/templates/organizer-location-change-email.ts index 57bb7dce66..a0ed9e7993 100644 --- a/packages/emails/templates/organizer-location-change-email.ts +++ b/packages/emails/templates/organizer-location-change-email.ts @@ -14,6 +14,7 @@ export default class OrganizerLocationChangeEmail extends OrganizerScheduledEmai }, from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)], subject: `${this.t("location_changed_event_type_subject", { eventType: this.calEvent.type, name: this.calEvent.attendees[0].name, diff --git a/packages/emails/templates/organizer-request-email.ts b/packages/emails/templates/organizer-request-email.ts index f6e2c38b0a..0267df2261 100644 --- a/packages/emails/templates/organizer-request-email.ts +++ b/packages/emails/templates/organizer-request-email.ts @@ -10,6 +10,7 @@ export default class OrganizerRequestEmail extends OrganizerScheduledEmail { return { from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)], subject: `${this.t("awaiting_approval")}: ${this.calEvent.title}`, html: renderEmail("OrganizerRequestEmail", { calEvent: this.calEvent, diff --git a/packages/emails/templates/organizer-request-reminder-email.ts b/packages/emails/templates/organizer-request-reminder-email.ts index 20973fc8ac..b9f2c1b53c 100644 --- a/packages/emails/templates/organizer-request-reminder-email.ts +++ b/packages/emails/templates/organizer-request-reminder-email.ts @@ -10,6 +10,7 @@ export default class OrganizerRequestReminderEmail extends OrganizerRequestEmail return { from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)], subject: `${this.t("event_awaiting_approval_subject", { title: this.calEvent.title, date: this.getFormattedDate(), diff --git a/packages/emails/templates/organizer-rescheduled-email.ts b/packages/emails/templates/organizer-rescheduled-email.ts index fc78a72034..26da823a1e 100644 --- a/packages/emails/templates/organizer-rescheduled-email.ts +++ b/packages/emails/templates/organizer-rescheduled-email.ts @@ -14,6 +14,7 @@ export default class OrganizerRescheduledEmail extends OrganizerScheduledEmail { }, from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)], subject: `${this.calEvent.organizer.language.translate("event_type_has_been_rescheduled_on_time_date", { title: this.calEvent.title, date: this.getFormattedDate(), diff --git a/packages/emails/templates/organizer-scheduled-email.ts b/packages/emails/templates/organizer-scheduled-email.ts index 9592c63869..740996ffff 100644 --- a/packages/emails/templates/organizer-scheduled-email.ts +++ b/packages/emails/templates/organizer-scheduled-email.ts @@ -81,6 +81,7 @@ export default class OrganizerScheduledEmail extends BaseEmail { }, from: `${APP_NAME} <${this.getMailerOptions().from}>`, to: toAddresses.join(","), + replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)], subject: `${this.newSeat ? this.t("new_attendee") + ": " : ""}${this.calEvent.title}`, html: renderEmail("OrganizerScheduledEmail", { calEvent: clonedCalEvent,