Add productName to subject in account-delete email
The change includes the productName as a prop in the subject of the account-delete email. This aims to give a more personalised message when sending emails related to account deletion, improving user experience.
This commit is contained in:
@@ -30,7 +30,9 @@ export async function renderAccountDeleteEmail(props: Props) {
|
||||
productName: props.productName,
|
||||
});
|
||||
|
||||
const subject = t(`${namespace}:subject`);
|
||||
const subject = t(`${namespace}:subject`, {
|
||||
productName: props.productName,
|
||||
});
|
||||
|
||||
const html = render(
|
||||
<Html>
|
||||
|
||||
Reference in New Issue
Block a user