import type {StaffMemberTextData} from './types';

export function renderText(data: StaffMemberTextData): string {
    // Be careful when you indent the email, because whitespaces are visible in emails!
    return `
Congratulations!

You have a new free member: "${data.memberData.name}"

---

Sent to ${data.toEmail} from ${data.siteDomain}.
If you would no longer like to receive these notifications you can adjust your settings at ${data.staffUrl}.
    `;
}
