feat(emails): warmer copy across invite, welcome, and event emails
Friendlier tone + ghost emoji on invite/welcome subjects; invite templates now offer a reply-to-this-email fallback; tighten OIDC wiki sign-in and event registration confirmation copy.
This commit is contained in:
parent
91711aa39b
commit
0ce61756b7
6 changed files with 19 additions and 19 deletions
|
|
@ -62,9 +62,9 @@ Paid: $${registration.amountPaid.toFixed(2)} CAD`;
|
|||
from: "Ghost Guild <events@babyghosts.org>",
|
||||
to: [registration.email],
|
||||
subject: `You're registered for ${eventData.title}`,
|
||||
text: `Hi ${registration.name},
|
||||
text: `Hi ${registration.name}!
|
||||
|
||||
You're registered for ${eventData.title}.
|
||||
You're now registered for ${eventData.title}.
|
||||
|
||||
Date: ${formatDate(eventData.startDate)}
|
||||
Time: ${formatTime(eventData.startDate, eventData.endDate)}
|
||||
|
|
@ -72,7 +72,9 @@ Location: ${eventData.location}
|
|||
${eventData.description ? `\n${eventData.description}\n` : ""}${ticketSection}${signInSection}
|
||||
View event: ${eventUrl}
|
||||
|
||||
To cancel, visit the event page and click "Cancel Registration."`,
|
||||
To cancel, visit the event page and click "Cancel Registration."
|
||||
|
||||
We look forward to seeing you there!`,
|
||||
});
|
||||
|
||||
if (error) {
|
||||
|
|
@ -272,17 +274,15 @@ export async function sendWelcomeEmail(member) {
|
|||
const { data, error } = await resend.emails.send({
|
||||
from: "Ghost Guild <ghostguild@babyghosts.org>",
|
||||
to: [member.email],
|
||||
subject: "Welcome to Ghost Guild",
|
||||
text: `Hi ${member.name},
|
||||
subject: "Welcome to Ghost Guild! 👻",
|
||||
text: `Hi ${member.name}!
|
||||
|
||||
Welcome to Ghost Guild! You're now part of the ${member.circle} circle.
|
||||
|
||||
Sign in to your dashboard:
|
||||
Sign in to your dashboard to get started:
|
||||
${baseUrl}/member/dashboard
|
||||
|
||||
If you have questions, reach out on Slack or reply to this email.
|
||||
|
||||
— Ghost Guild`,
|
||||
If you have questions, reach out to jennie + eileen on Slack or reply to this email.`,
|
||||
});
|
||||
|
||||
if (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue