fix(api): send correct staff emails and allow suppressing them (#3048)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-29 23:55:54 +02:00
1 parent f0b3c82cfd
commit 39f9beda5a
113 files changed
+2496 -206

No files matched your search

+16 -1
View File
@@ -43,6 +43,21 @@ export interface IEmailService {
deletionDate: Date,
locale?: string | null,
): Promise<boolean>;
sendAccountDeletionRequestedEmail(
email: string,
username: string,
reason: string | null,
deletionDate: Date,
locale?: string | null,
): Promise<boolean>;
sendAccountDeletionInactivityEmail(
email: string,
username: string,
reason: string | null,
deletionDate: Date,
locale?: string | null,
): Promise<boolean>;
sendAccountDeletionCancelledEmail(email: string, username: string, locale?: string | null): Promise<boolean>;
sendUnbanNotification(
email: string,
username: string,
@@ -53,7 +68,7 @@ export interface IEmailService {
email: string,
username: string,
deletionDate: Date,
reason: string,
reason: string | null,
locale?: string | null,
): Promise<boolean>;
sendInactivityWarningEmail(