Skip to content

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

feat: update email text

Marc Seitz05f93ced752e
diff --git a/components/emails/custom-domain-setup.tsx b/components/emails/custom-domain-setup.tsx
index 171a9dfc..8c6825af 100644
--- a/components/emails/custom-domain-setup.tsx
+++ b/components/emails/custom-domain-setup.tsx
@@ -14,6 +14,8 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function CustomDomainSetup({
name = "there",
currentPlan = "Free",
@@ -32,7 +34,8 @@ export default function CustomDomainSetup({
} else {
return {
title: "Interested in custom domains? 🚀",
- subtitle: "Learn how custom domains can enhance your document sharing experience.",
+ subtitle:
+ "Learn how custom domains can enhance your document sharing experience.",
};
}
};
@@ -52,12 +55,8 @@ export default function CustomDomainSetup({
<Text className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
{title}
</Text>
- <Text className="text-sm leading-6 text-black">
- Hi {name},
- </Text>
- <Text className="text-sm leading-6 text-black">
- {subtitle}
- </Text>
+ <Text className="text-sm leading-6 text-black">Hi {name},</Text>
+ <Text className="text-sm leading-6 text-black">{subtitle}</Text>
{!hasAccess && (
<>
@@ -65,19 +64,25 @@ export default function CustomDomainSetup({
<strong>Custom domains are available: </strong>
</Text>
<ul className="list-inside list-disc text-sm">
- <li><strong>Business Plan:</strong> Custom domain for documents</li>
- <li><strong>Data Rooms Plan:</strong> Custom domain for data rooms</li>
- <li><strong>Data Rooms Plus:</strong> Unlimited custom domains for data rooms and documents</li>
+ <li>
+ <strong>Business:</strong> Custom domain for documents
+ </li>
+ <li>
+ <strong>Data Rooms:</strong> Custom domain for data rooms
+ </li>
+ <li>
+ <strong>Data Rooms Plus:</strong> Unlimited custom domains
+ for data rooms and documents
+ </li>
</ul>
</>
)}
-
<Text className="text-sm leading-6 text-black">
<strong>Setting up your custom domain:</strong>
</Text>
<ol className="list-inside list-decimal text-sm">
- <li>Choose your subdomain (e.g., docs.yourcompany.com)</li>
+ <li>Choose your subdomain (e.g. docs.yourcompany.com)</li>
<li>Add a CNAME record pointing to papermark.com</li>
<li>Configure the domain in your Papermark settings</li>
<li>Start sharing with your branded domain!</li>
@@ -98,7 +103,7 @@ export default function CustomDomainSetup({
href={`https://app.papermark.com/settings/upgrade`}
style={{ padding: "12px 20px" }}
>
- Upgrade to get custom domains
+ Upgrade to use custom domains
</Button>
)}
</Section>
@@ -129,26 +134,10 @@ export default function CustomDomainSetup({
)}
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any questions about setting up your custom domain,
- simply reply to this email. We'd love to help you get started!
- </Text>
- </Section>
+ <Footer footerText="If you have any questions about setting up your custom domain, simply reply to this email. We'd love to help you get started!" />
</Container>
</Body>
</Tailwind>
</Html>
);
-}
\ No newline at end of file
+}
diff --git a/components/emails/data-rooms-information.tsx b/components/emails/data-rooms-information.tsx
index ea287665..34ba814e 100644
--- a/components/emails/data-rooms-information.tsx
+++ b/components/emails/data-rooms-information.tsx
@@ -5,7 +5,6 @@ import {
Button,
Container,
Head,
- Hr,
Html,
Preview,
Section,
@@ -13,6 +12,8 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
const Onboarding3Email = () => {
const previewText = `The document sharing infrastructure for the modern web`;
@@ -30,7 +31,9 @@ const Onboarding3Email = () => {
Virtual Data Rooms
</Text>
<Text className="text-sm">Unlimited branded data rooms!</Text>
- <Text className="text-sm">With Papermark Data Rooms plan you can:</Text>
+ <Text className="text-sm">
+ With Papermark Data Rooms plan you can:
+ </Text>
<ul className="list-inside list-disc text-sm">
<li>Share data rooms with one link</li>
<li>Upload unlimited files</li>
@@ -40,7 +43,6 @@ const Onboarding3Email = () => {
</li>
<li>Create fully branded experience </li>
<li>Use advanced link settings</li>
-
</ul>
<Text className="text-sm">
All about Papermark{" "}
@@ -52,8 +54,7 @@ const Onboarding3Email = () => {
</a>{" "}
features and plans
</Text>
- {/* <Text className="text-sm">You can also use Bulk upload</Text> */}
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://app.papermark.com/datarooms?utm_source=dataroom-info&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
@@ -63,8 +64,7 @@ const Onboarding3Email = () => {
</Button>
</Section>
<Text className="text-sm">
- If you want to self-host Papermark, and build fully customizable
- experience{" "}
+ If you require a fully customizable experience,{" "}
<a
href="https://cal.com/marcseitz/papermark"
className="text-blue-500 underline"
@@ -73,26 +73,10 @@ const Onboarding3Email = () => {
</a>{" "}
with us.
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- This is a last onboarding email. If you have any feedback or
- questions about this email, simply reply to it. I&apos;d love to
- hear from you!{" "}
- </Text>
-
- {/* <Text className="text-xs">Stop this onboarding sequence. </Text> */}
- </Section>
+ <Footer
+ withAddress={false}
+ footerText="This is a last onboarding email. If you have any feedback or questions about this email, simply reply to it. I'd love to hear from you!"
+ />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/dataroom-notification.tsx b/components/emails/dataroom-notification.tsx
index 04c4eac2..af331fd8 100644
--- a/components/emails/dataroom-notification.tsx
+++ b/components/emails/dataroom-notification.tsx
@@ -14,11 +14,11 @@ import {
} from "@react-email/components";
export default function DataroomNotification({
- dataroomName,
- documentName,
- senderEmail,
- url,
- unsubscribeUrl,
+ dataroomName = "Example Data Room",
+ documentName = "Example Document",
+ senderEmail = "[email protected]",
+ url = "https://app.papermark.com/datarooms/123",
+ unsubscribeUrl = "https://app.papermark.com/datarooms/123/unsubscribe",
}: {
dataroomName: string;
documentName: string | undefined;
@@ -33,10 +33,10 @@ export default function DataroomNotification({
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
- <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">
+ <Text className="mb-8 mt-4 text-center text-2xl font-normal">
<span className="font-bold tracking-tighter">Papermark</span>
</Text>
- <Text className="font-seminbold mx-0 mb-8 mt-4 p-0 text-center text-xl">
+ <Text className="font-seminbold mb-8 mt-4 text-center text-xl">
{`New document available for ${dataroomName}`}
</Text>
<Text className="text-sm leading-6 text-black">
@@ -45,7 +45,7 @@ export default function DataroomNotification({
added to <span className="font-semibold">{dataroomName}</span>{" "}
dataroom on Papermark.
</Text>
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`${url}`}
@@ -59,17 +59,12 @@ export default function DataroomNotification({
{`${url}`}
</Text>
<Text className="text-sm text-gray-400">Papermark</Text>
+
<Hr />
- <Section className="mt-8 text-gray-400">
+ <Section className="text-gray-400">
<Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
+ © {new Date().getFullYear()} Papermark, Inc. All rights
+ reserved.
</Text>
<Text className="text-xs">
You received this email from{" "}
@@ -81,7 +76,7 @@ export default function DataroomNotification({
this dataroom,{" "}
<a
href={unsubscribeUrl}
- className="text-gray-400 underline underline-offset-2 hover:text-gray-400"
+ className="text-gray-400 underline underline-offset-2"
>
click here
</a>
diff --git a/components/emails/dataroom-trial-24h.tsx b/components/emails/dataroom-trial-24h.tsx
index 3f076d0f..660a5501 100644
--- a/components/emails/dataroom-trial-24h.tsx
+++ b/components/emails/dataroom-trial-24h.tsx
@@ -14,17 +14,17 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
interface TrialEndReminderEmail {
name: string | null | undefined;
}
const TrialEndReminderEmail = ({ name }: TrialEndReminderEmail) => {
- const previewText = `Upgrade to Papermark Data Rooms Plan`;
-
return (
<Html>
<Head />
- <Preview>{previewText}</Preview>
+ <Preview>Upgrade to Papermark Data Rooms Plan</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
@@ -38,18 +38,32 @@ const TrialEndReminderEmail = ({ name }: TrialEndReminderEmail) => {
Hey{name && ` ${name}`}!
</Text>
<Text className="text-sm leading-6 text-black">
- Your Papermark Data Room plan trial expires in 24 hours. Don't lose access to these features -{" "}
+ Your Papermark Data Room plan trial expires in 24 hours. Don't
+ lose access to these features -{" "}
<Link href={`https://app.papermark.com/settings/billing`}>
upgrade today
- </Link>:
+ </Link>
+ :
</Text>
<ul className="list-inside list-disc text-sm">
- <li>Build unlimited <strong>data rooms</strong></li>
- <li>Upload files of any <strong>size</strong></li>
- <li>Collaborate with your <strong>team</strong></li>
- <li>Set up <strong>secure link permissions</strong> and controls</li>
- <li>Brand everything with your <strong>custom domain</strong></li>
- <li>Track detailed <strong>analytics</strong> and user activity</li>
+ <li>
+ Build unlimited <strong>data rooms</strong>
+ </li>
+ <li>
+ Upload files of any <strong>size</strong>
+ </li>
+ <li>
+ Collaborate with your <strong>team</strong>
+ </li>
+ <li>
+ Set up <strong>secure link permissions</strong> and controls
+ </li>
+ <li>
+ Brand everything with your <strong>custom domain</strong>
+ </li>
+ <li>
+ Track detailed <strong>analytics</strong> and user activity
+ </li>
</ul>
<Section className="mb-[32px] mt-[32px] text-center">
<Button
@@ -63,26 +77,11 @@ const TrialEndReminderEmail = ({ name }: TrialEndReminderEmail) => {
<Text className="text-sm font-semibold">
<span className="text-red-500">⚠️</span> Dataroom links and links
with advanced access controls will be{" "}
- <span className="text-red-500 underline">disabled</span> in 24 hours.
+ <span className="text-red-500 underline">disabled</span> in 24
+ hours.
</Text>
<Text className="text-sm text-gray-400">Marc from Papermark</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it. I&apos;d love to hear from you!
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/dataroom-trial-end.tsx b/components/emails/dataroom-trial-end.tsx
index abfccb2b..29f5842f 100644
--- a/components/emails/dataroom-trial-end.tsx
+++ b/components/emails/dataroom-trial-end.tsx
@@ -14,45 +14,58 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
interface DataroomTrialEnd {
name: string | null | undefined;
}
const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
- const previewText = `Upgrade to continue using data rooms`;
-
return (
<Html>
<Head />
- <Preview>{previewText}</Preview>
+ <Preview>Upgrade to continue using data rooms</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
- <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">
+ <Text className="mb-8 mt-4 text-center text-2xl font-normal">
<span className="font-bold tracking-tighter">Papermark</span>
</Text>
- <Text className="font-seminbold mx-0 mb-8 mt-4 p-0 text-center text-xl">
+ <Text className="font-seminbold mb-8 mt-4 text-center text-xl">
Your Data Room plan trial has expired
</Text>
<Text className="text-sm leading-6 text-black">
Hey{name && ` ${name}`}!
</Text>
<Text className="text-sm leading-6 text-black">
- Your Papermark Data Room plantrial has expired.{" "}
- <Link href={`https://app.papermark.com/settings/billing`}>
+ Your Papermark Data Room trial has expired.
+ <br />
+ <Link
+ href={`https://app.papermark.com/settings/billing`}
+ className="underline"
+ >
Upgrade now
</Link>{" "}
to:
</Text>
<ul className="list-inside list-disc text-sm">
<li>Create new datarooms</li>
- <li>Upload <strong>large</strong> files</li>
- <li>Invite your <strong>team members</strong></li>
- <li>Protect documents with <strong>advanced access controls</strong></li>
- <li>Share documents and data rooms with <strong>custom domain</strong></li>
+ <li>
+ Upload <strong>large</strong> files
+ </li>
+ <li>
+ Invite your <strong>team members</strong>
+ </li>
+ <li>
+ Protect documents with <strong>advanced access controls</strong>
+ </li>
+ <li>
+ Share documents and data rooms with{" "}
+ <strong>custom domain</strong>
+ </li>
<li>Access advanced analytics and audit logs</li>
</ul>
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://app.papermark.com/settings/billing`}
@@ -66,23 +79,7 @@ const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
with advanced access controls have been{" "}
<span className="underline">disabled</span>.
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it. I&apos;d love to hear from you!
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/dataroom-viewer-invitation.tsx b/components/emails/dataroom-viewer-invitation.tsx
index ccbc9066..a3997310 100644
--- a/components/emails/dataroom-viewer-invitation.tsx
+++ b/components/emails/dataroom-viewer-invitation.tsx
@@ -13,10 +13,12 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function DataroomViewerInvitation({
- dataroomName,
- senderEmail,
- url,
+ dataroomName = "Example Data Room",
+ senderEmail = "[email protected]",
+ url = "https://app.papermark.com/datarooms/123",
}: {
dataroomName: string;
senderEmail: string;
@@ -58,23 +60,10 @@ export default function DataroomViewerInvitation({
{`${url}`}
</Text>
<Text className="text-sm text-gray-400">Papermark</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it.
- </Text>
- </Section>
+ <Footer
+ footerText="If you have any feedback or questions about this email, simply
+ reply to it."
+ />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/deleted-domain.tsx b/components/emails/deleted-domain.tsx
index f81955b7..83b4b21f 100644
--- a/components/emails/deleted-domain.tsx
+++ b/components/emails/deleted-domain.tsx
@@ -13,6 +13,8 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function DomainDeleted({
domain = "papermark.com",
}: {
@@ -53,23 +55,7 @@ export default function DomainDeleted({
If you did not want to keep using this domain on Papermark anyway,
you can simply ignore this email.
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it. I&apos;d love to hear from you!
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/email-updated.tsx b/components/emails/email-updated.tsx
index 251d835c..6f45addd 100644
--- a/components/emails/email-updated.tsx
+++ b/components/emails/email-updated.tsx
@@ -11,9 +11,11 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export function EmailUpdated({
- oldEmail = "[email protected]",
- newEmail = "[email protected]",
+ oldEmail = "[email protected]",
+ newEmail = "[email protected]",
}: {
oldEmail: string;
newEmail: string;
@@ -47,19 +49,7 @@ export function EmailUpdated({
<Text className="text-sm leading-6 text-black">
This message is being sent to your old email address only.
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/export-ready.tsx b/components/emails/export-ready.tsx
index ce93103c..e6871cfc 100644
--- a/components/emails/export-ready.tsx
+++ b/components/emails/export-ready.tsx
@@ -11,10 +11,12 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function ExportReady({
resourceName = "Export",
- downloadUrl,
- email,
+ downloadUrl = "https://app.papermark.com/datarooms/123",
+ email = "[email protected]",
}: {
resourceName?: string;
downloadUrl: string;
@@ -58,25 +60,17 @@ export default function ExportReady({
<br />
The Papermark Team
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- Papermark, Inc.
- </a>
- </Text>
- <Text className="text-xs">
- This email was intended for{" "}
- <span className="text-black">{email}</span>. If you were not
- expecting this email, you can ignore this email. If you have any
- feedback or questions about this email, simply reply to it.
- </Text>
- </Section>
+ <Footer
+ footerText={
+ <>
+ This email was intended for{" "}
+ <span className="text-black">{email}</span>. If you were not
+ expecting this email, you can ignore this email. If you have
+ any feedback or questions about this email, simply reply to
+ it.
+ </>
+ }
+ />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/hundred-views-congrats.tsx b/components/emails/hundred-views-congrats.tsx
index 9ddd274a..e90d7cc5 100644
--- a/components/emails/hundred-views-congrats.tsx
+++ b/components/emails/hundred-views-congrats.tsx
@@ -1,25 +1,30 @@
-import React from "react";
-
-import { Body, Head, Html, Link, Preview, Tailwind, Text } from "@react-email/components";
+import {
+ Body,
+ Head,
+ Html,
+ Link,
+ Tailwind,
+ Text,
+} from "@react-email/components";
interface HundredViewsCongratsEmailProps {
name: string | null | undefined;
}
-const HundredViewsCongratsEmail = ({ name }: HundredViewsCongratsEmailProps) => {
+const HundredViewsCongratsEmail = ({
+ name,
+}: HundredViewsCongratsEmailProps) => {
return (
<Html>
<Head />
- <Preview>100 views on Papermark. Awesome, {name}</Preview>
<Tailwind>
<Body className="font-sans text-sm">
- <Text>Hi {name},</Text>
- <Text>
- I'm Marc, founder of Papermark. Congrats on 100 views on your documents.
- </Text>
+ <Text>Hi{name && ` ${name}`},</Text>
<Text>
- Would you help others discover us too?
+ I'm Marc, founder of Papermark. Congrats on 100 views on your
+ documents.
</Text>
+ <Text>Would you help others discover us too?</Text>
<Text>
<Link
href="https://www.g2.com/products/papermark/reviews"
@@ -29,9 +34,7 @@ const HundredViewsCongratsEmail = ({ name }: HundredViewsCongratsEmailProps) =>
Leave a review on G2 →
</Link>
</Text>
- <Text>
- Small gift from us inside.
- </Text>
+ <Text>Small gift from us inside.</Text>
<Text>
Thanks so much,
<br />
@@ -43,4 +46,4 @@ const HundredViewsCongratsEmail = ({ name }: HundredViewsCongratsEmailProps) =>
);
};
-export default HundredViewsCongratsEmail;
\ No newline at end of file
+export default HundredViewsCongratsEmail;
diff --git a/components/emails/invalid-domain.tsx b/components/emails/invalid-domain.tsx
index 7e6ea24d..515bdc9f 100644
--- a/components/emails/invalid-domain.tsx
+++ b/components/emails/invalid-domain.tsx
@@ -14,6 +14,8 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function InvalidDomain({
domain = "papermark.com",
invalidDays = 14,
@@ -77,23 +79,7 @@ export default function InvalidDomain({
}`
: ""}
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it. I&apos;d love to hear from you!
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>
diff --git a/components/emails/onboarding-1.tsx b/components/emails/onboarding-1.tsx
index 6bb21e36..edde6e10 100644
--- a/components/emails/onboarding-1.tsx
+++ b/components/emails/onboarding-1.tsx
@@ -38,6 +38,7 @@ const Onboarding1Email = () => {
</Text>
<ul className="list-inside list-disc text-sm">
<li>PDFs</li>
+ <li>Microsoft Office files</li>
<li>Excel, CSV files</li>
<li>Notion via link</li>
</ul>
@@ -45,10 +46,11 @@ const Onboarding1Email = () => {
(All Notion changes are instantly reflected in shared documents)
</Text>
<Text className="text-sm">
- You can also use <strong>Bulk upload 💫</strong> Just drop many
- documents at once
+ You can also use{" "}
+ <span className="font-semibold">Bulk upload 💫</span> Just drop
+ multiple documents at once
</Text>
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
@@ -61,16 +63,10 @@ const Onboarding1Email = () => {
After sharing start tracking document activity on each page
</Text>
<Hr />
- <Section className="mt-8 text-gray-400">
+ <Section className="text-gray-400">
<Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
+ © {new Date().getFullYear()} Papermark, Inc. All rights
+ reserved.
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
diff --git a/components/emails/onboarding-2.tsx b/components/emails/onboarding-2.tsx
index 32a5370b..76aaaa88 100644
--- a/components/emails/onboarding-2.tsx
+++ b/components/emails/onboarding-2.tsx
@@ -14,12 +14,10 @@ import {
} from "@react-email/components";
const Onboarding2Email = () => {
- const previewText = `The document sharing infrastructure for the modern web`;
-
return (
<Html>
<Head />
- <Preview>{previewText}</Preview>
+ <Preview>The document sharing infrastructure for the modern web</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
@@ -45,8 +43,7 @@ const Onboarding2Email = () => {
<li>NDA and other agreements</li>
<li>Screenshot protection</li>
</ul>
- {/* <Text className="text-sm">You can also use Bulk upload</Text> */}
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
@@ -60,20 +57,14 @@ const Onboarding2Email = () => {
feedback, and cta settings
</Text>
<Hr />
- <Section className="mt-8 text-gray-400">
+ <Section className="text-gray-400">
<Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
+ © {new Date().getFullYear()} Papermark, Inc. All rights
+ reserved.
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
- reply to it. I&apos;d love to hear from you!{" "}
+ reply to it. I&apos;d love to hear from you!
</Text>
<Text className="text-xs">Stop this onboarding sequence</Text>
diff --git a/components/emails/onboarding-3.tsx b/components/emails/onboarding-3.tsx
index 3df1eae8..3f255feb 100644
--- a/components/emails/onboarding-3.tsx
+++ b/components/emails/onboarding-3.tsx
@@ -14,12 +14,10 @@ import {
} from "@react-email/components";
const Onboarding3Email = () => {
- const previewText = `The document sharing infrastructure for the modern web`;
-
return (
<Html>
<Head />
- <Preview>{previewText}</Preview>
+ <Preview>The document sharing infrastructure for the modern web</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
@@ -38,15 +36,15 @@ const Onboarding3Email = () => {
</Text>
<ul className="list-inside list-disc text-sm">
<li>
- Track time on <strong>each page 💫</strong>{" "}
+ Track time on{" "}
+ <span className="font-semibold">each page 💫</span>
</li>
<li>See who viewed your documents</li>
<li>Capture email </li>
<li>Receive feedback</li>
<li>Ask questions and get answers</li>
</ul>
- {/* <Text className="text-sm">You can also use Bulk upload</Text> */}
- <Section className="mb-[32px] mt-[32px] text-center">
+ <Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
@@ -61,14 +59,8 @@ const Onboarding3Email = () => {
<Hr />
<Section className="mt-8 text-gray-400">
<Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
- target="_blank"
- >
- papermark.com
- </a>
+ © {new Date().getFullYear()} Papermark, Inc. All rights
+ reserved.
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
diff --git a/components/emails/onboarding-4.tsx b/components/emails/onboarding-4.tsx
index 82bbffe2..6accdab0 100644
--- a/components/emails/onboarding-4.tsx
+++ b/components/emails/onboarding-4.tsx
@@ -35,8 +35,7 @@ const Onboarding4Email = () => {
<Text className="text-sm">With Papermark you can:</Text>
<ul className="list-inside list-disc text-sm">
<li>
- Share documnets with your{" "}
- <strong>custom domain💫</strong>{" "}
+ Share documnets with your <strong>custom domain💫</strong>{" "}
</li>
<li>Remove &quot;powered by Papermark&quot;</li>
@@ -74,7 +73,7 @@ const Onboarding4Email = () => {
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/shared/footer.tsx b/components/emails/shared/footer.tsx
new file mode 100644
index 00000000..b578f27c
--- /dev/null
+++ b/components/emails/shared/footer.tsx
@@ -0,0 +1,27 @@
+import { Hr, Section, Text } from "@react-email/components";
+
+export const Footer = ({
+ withAddress = false,
+ footerText = "If you have any feedback or questions about this email, simply reply to it. I'd love to hear from you!",
+}: {
+ withAddress?: boolean;
+ footerText?: string | React.ReactNode;
+}) => {
+ return (
+ <>
+ <Hr />
+ <Section className="text-gray-400">
+ <Text className="text-xs">
+ © {new Date().getFullYear()} Papermark, Inc. All rights reserved.{" "}
+ {withAddress && (
+ <>
+ <br />
+ 1111B S Governors Ave #28117, Dover, DE 19904
+ </>
+ )}
+ </Text>
+ <Text className="text-xs">{footerText}</Text>
+ </Section>
+ </>
+ );
+};
diff --git a/components/emails/slack-integration.tsx b/components/emails/slack-integration.tsx
index fae20413..240eda03 100644
--- a/components/emails/slack-integration.tsx
+++ b/components/emails/slack-integration.tsx
@@ -33,15 +33,15 @@ const SlackIntegrationEmail = ({ name }: SlackIntegrationEmailProps) => {
<Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">
Connect Slack in 2 clicks
</Text>
+ <Text className="text-sm">Hi{name && ` ${name}`}!</Text>
<Text className="text-sm">
- Hi{name && ` ${name}`}!
+ We offer direct integration to Slack, and it's free for all users
+ for 30 days.
</Text>
<Text className="text-sm">
- We offer direct integration to Slack, and it's free for all users for 30 days.
- </Text>
- <Text className="text-sm">
- With our Slack integration, you can get real-time notifications
- about document and data roomviews directly in your Slack channels !
+ With our Slack integration, you can get real-time notifications
+ about document and data roomviews directly in your Slack channels
+ !
</Text>
<Section className="mb-[32px] mt-[32px] text-center">
<Button
@@ -52,10 +52,10 @@ const SlackIntegrationEmail = ({ name }: SlackIntegrationEmailProps) => {
See who viewed your documents in Slack
</Button>
</Section>
-
+
<Text className="text-sm">
- If you have any questions or need help setting it up, just
- respond to this email. I'm always happy to help!
+ If you have any questions or need help setting it up, just respond
+ to this email. I'm always happy to help!
</Text>
<Text className="text-sm text-gray-400">Marc from Papermark</Text>
<Hr />
@@ -64,7 +64,7 @@ const SlackIntegrationEmail = ({ name }: SlackIntegrationEmailProps) => {
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
@@ -81,4 +81,4 @@ const SlackIntegrationEmail = ({ name }: SlackIntegrationEmailProps) => {
);
};
-export default SlackIntegrationEmail;
\ No newline at end of file
+export default SlackIntegrationEmail;
diff --git a/components/emails/team-invitation.tsx b/components/emails/team-invitation.tsx
index 850a91c2..d1bc73fe 100644
--- a/components/emails/team-invitation.tsx
+++ b/components/emails/team-invitation.tsx
@@ -17,7 +17,7 @@ export default function TeamInvitation({
senderName,
senderEmail,
teamName,
- url,
+ url = "https://app.papermark.com",
}: {
senderName: string;
senderEmail: string;
@@ -65,7 +65,7 @@ export default function TeamInvitation({
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/trial-end-final-reminder.tsx b/components/emails/trial-end-final-reminder.tsx
index ed0c750d..7fa6debd 100644
--- a/components/emails/trial-end-final-reminder.tsx
+++ b/components/emails/trial-end-final-reminder.tsx
@@ -77,7 +77,7 @@ const TrialEndFinalReminderEmail = ({ name }: TrialEndFinalReminderEmail) => {
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/upgrade-plan.tsx b/components/emails/upgrade-plan.tsx
index 3fad21f7..5666b575 100644
--- a/components/emails/upgrade-plan.tsx
+++ b/components/emails/upgrade-plan.tsx
@@ -72,11 +72,10 @@ const UpgradePlanEmail = ({
Hey{name && ` ${name}`}!
</Text>
<Text className="text-sm">
- Marc is here. I wanted
- to personally reach out to thank you for upgrading to Papermark{" "}
- {planType}!
+ Marc is here. I wanted to personally reach out to thank you for
+ upgrading to Papermark {planType}!
</Text>
-
+
<Text className="text-sm leading-6 text-black">
On the {planType} plan, you now have access to:
</Text>
@@ -115,7 +114,7 @@ const UpgradePlanEmail = ({
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/verification-email-change.tsx b/components/emails/verification-email-change.tsx
index ddf1ff18..83f5e1c7 100644
--- a/components/emails/verification-email-change.tsx
+++ b/components/emails/verification-email-change.tsx
@@ -66,7 +66,7 @@ export function ConfirmEmailChange({
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/verification-link.tsx b/components/emails/verification-link.tsx
index 860984cd..ccc5a6d1 100644
--- a/components/emails/verification-link.tsx
+++ b/components/emails/verification-link.tsx
@@ -56,7 +56,7 @@ const VerificationLinkEmail = ({
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/viewed-dataroom.tsx b/components/emails/viewed-dataroom.tsx
index b21c7d3b..f3c77616 100644
--- a/components/emails/viewed-dataroom.tsx
+++ b/components/emails/viewed-dataroom.tsx
@@ -67,9 +67,9 @@ export default function ViewedDataroom({
>
See my dataroom insights
</Button>
- </Section>
+ </Section>
<Text className="text-sm leading-6 text-black">
- Receive view notifications in your{" "}
+ Receive view notifications in your{" "}
<Link
href="https://app.papermark.com/settings/general"
className="text-blue-500 underline"
@@ -77,16 +77,16 @@ export default function ViewedDataroom({
>
Slack
</Link>{" "}
- channel. Stay informed, stay ahead with Papermark.
+ channel. Stay informed, stay ahead with Papermark.
</Text>
-
+
<Hr />
<Section className="mt-8 text-gray-400">
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/viewed-document.tsx b/components/emails/viewed-document.tsx
index 34f5c4d4..155ce3e0 100644
--- a/components/emails/viewed-document.tsx
+++ b/components/emails/viewed-document.tsx
@@ -69,7 +69,7 @@ export default function ViewedDocument({
</Button>
</Section>
<Text className="text-sm leading-6 text-black">
- Receive view notifications in your{" "}
+ Receive view notifications in your{" "}
<Link
href="https://app.papermark.com/settings/general"
className="text-blue-500 underline"
@@ -77,16 +77,16 @@ export default function ViewedDocument({
>
Slack
</Link>{" "}
- channel. Stay informed, stay ahead with Papermark.
+ channel. Stay informed, stay ahead with Papermark.
</Text>
-
+
<Hr />
<Section className="mt-8 text-gray-400">
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
diff --git a/components/emails/welcome.tsx b/components/emails/welcome.tsx
index 1200632b..d357e8b5 100644
--- a/components/emails/welcome.tsx
+++ b/components/emails/welcome.tsx
@@ -37,8 +37,8 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
</Text>
<Text className="text-sm">
My name is Marc, and I&apos;m the founder of Papermark – the
- open-source DocSend alternative for securely sharing documents and data rooms. I&apos;m excited to have you on
- board!
+ open-source DocSend alternative for securely sharing documents and
+ data rooms. I&apos;m excited to have you on board!
</Text>
<Text className="text-sm">
Here are a few things you can do to get started:
@@ -47,7 +47,7 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
<li>Turn your documents into shareable links</li>
<li>Create secure virtual data rooms</li>
<li>
- Share your documents {" "}
+ Share your documents{" "}
<span className="italic">(with custom domain)✨</span>
</li>
<li>Watch the page by page views come in real-time</li>
@@ -61,22 +61,21 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
Get Started
</Button>
</Section>
-
+
<Section className="mt-4">
<Text className="text-sm">
If you have any questions or feedback just respond to this
- email. <Link
- href="https://cal.com/marcseitz/papermark"
- target="_blank"
- >
- Book
- </Link> {" "}a call to talk enterprise. I&apos;m always happy to help!
-
+ email.{" "}
+ <Link
+ href="https://cal.com/marcseitz/papermark"
+ target="_blank"
+ >
+ Book
+ </Link>{" "}
+ a call to talk enterprise. I&apos;m always happy to help!
</Text>
-
- <Text className="text-sm text-gray-400">Marc from Papermark
-
- </Text>
+
+ <Text className="text-sm text-gray-400">Marc from Papermark</Text>
</Section>
<Hr />
<Section className="mt-8 text-gray-400">
@@ -84,33 +83,41 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
</a>
</Text>
<Text className="text-xs">
- <Link href="https://www.papermark.com/customers" target="_blank" className="text-gray-400 text-xs">
- Customer stories
- </Link>
- <Link href="https://x.com/papermarkio" target="_blank" className="text-gray-400 text-xs">
- · Twitter
- </Link>
- <Link
- href="https://www.linkedin.com/company/papermarkio"
- target="_blank"
- className="text-gray-400 text-xs"
- >
- · LinkedIn
- </Link>
- <Link
- href="https://github.com/mfts/papermark"
- target="_blank"
- className="text-gray-400 text-xs"
- >
- · GitHub
- </Link>
+ <Link
+ href="https://www.papermark.com/customers"
+ target="_blank"
+ className="text-xs text-gray-400"
+ >
+ Customer stories
+ </Link>
+ <Link
+ href="https://x.com/papermarkio"
+ target="_blank"
+ className="text-xs text-gray-400"
+ >
+ · Twitter
+ </Link>
+ <Link
+ href="https://www.linkedin.com/company/papermarkio"
+ target="_blank"
+ className="text-xs text-gray-400"
+ >
+ · LinkedIn
+ </Link>
+ <Link
+ href="https://github.com/mfts/papermark"
+ target="_blank"
+ className="text-xs text-gray-400"
+ >
+ · GitHub
+ </Link>
</Text>
</Section>
</Container>
diff --git a/components/emails/year-in-review-papermark.tsx b/components/emails/year-in-review-papermark.tsx
index 7ae725e9..01c37b00 100644
--- a/components/emails/year-in-review-papermark.tsx
+++ b/components/emails/year-in-review-papermark.tsx
@@ -266,7 +266,7 @@ export default function PapermarkYearInReviewEmail({
© {new Date().getFullYear()}{" "}
<a
href="https://www.papermark.com"
- className="text-gray-400 no-underline hover:text-gray-400"
+ className="text-gray-400 no-underline"
target="_blank"
>
papermark.com
@@ -279,7 +279,7 @@ export default function PapermarkYearInReviewEmail({
from future Year in Review emails,{" "}
<a
href={unsubscribeUrl}
- className="text-gray-400 underline underline-offset-2 hover:text-gray-400"
+ className="text-gray-400 underline underline-offset-2"
>
click here
</a>