Skip to content

Commit 477f02e

Browse files
ben-zCopilot
andauthored
Reword onboarding email to account for user expiry (#26)
This PR rewords the onboarding email to make it more appropriate when used for updates upon user expiry. The emphasis is on that the access was either granted or updated. Updated can mean that some services have been removed. This email should now be appropriate for access changes due to user expiry (WATonomous/infra-config#3522). --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 764e4a7 commit 477f02e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

emails/onboarding.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type WATcloudOnboardingEmailProps = z.infer<typeof WATcloudOnboardingEmailProps>
1818
export const WATcloudOnboardingEmail = (props: WATcloudOnboardingEmailProps) => {
1919
const { name, services } = WATcloudOnboardingEmailProps.parse(props);
2020

21-
const previewText = `Welcome to WATcloud! Your access has been updated.`;
21+
const previewText = `Your WATcloud access has been granted/updated!`;
2222
const accessInstructions = (
2323
<ul style={{ fontSize: "14px", lineHeight: "24px" }}>
2424
{services?.map((service) => (
@@ -31,14 +31,12 @@ export const WATcloudOnboardingEmail = (props: WATcloudOnboardingEmailProps) =>
3131
<WATcloudEmail previewText={previewText}>
3232
<Text>Hi {name},</Text>
3333
<Text>
34-
Welcome to WATcloud, WATonomous's compute cluster and infrastructure. We are excited to have you on board!
35-
</Text>
36-
<Text>
37-
This email confirms that your access to WATcloud has been successfully updated.
34+
Welcome to WATcloud, WATonomous's compute cluster and infrastructure.
35+
You are receiving this email because you have been granted access to WATcloud, or your access has been updated.
3836
</Text>
3937
<Hr />
4038
<Section>
41-
<Text>Here's a list of services that you have access to:</Text>
39+
<Text>Here's a list of services that you now have access to:</Text>
4240
{accessInstructions}
4341
<Text>
4442
Access instructions for each service can be found in the <Link href="https://cloud.watonomous.ca/docs/services" style={{ color: "#1e90ff", textDecoration: "none" }}>Services</Link> documentation.

0 commit comments

Comments
 (0)