Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

update invite emails

Marc Seitz31fdb6e4dcf9
diff --git a/components/emails/team-invitation.tsx b/components/emails/team-invitation.tsx
index 06878c5d..eb8810e3 100644
--- a/components/emails/team-invitation.tsx
+++ b/components/emails/team-invitation.tsx
@@ -28,7 +28,7 @@ export default function TeamInvitation({
return (
<Html>
<Head />
- <Preview>Team Invitation</Preview>
+ <Preview>Join the team on Papermark</Preview>
<Tailwind>
<Body className="bg-white my-auto mx-auto font-sans">
<Container className="my-10 mx-auto p-5 w-[465px]">
diff --git a/lib/emails/send-teammate-invite.ts b/lib/emails/send-teammate-invite.ts
index f5960fe2..553b6267 100644
--- a/lib/emails/send-teammate-invite.ts
+++ b/lib/emails/send-teammate-invite.ts
@@ -18,7 +18,7 @@ export const sendTeammateInviteEmail = async ({
}) => {
await sendEmail({
to: to,
- subject: "You are invited to join a Team",
+ subject: `You are invited to join a ${senderName}'s team`,
react: TeamInvitation({
senderName,
senderEmail,