Files
dataroom/lib/emails/send-dataroom-trial-24h.ts
zeekay 260fd6b8ce Rebrand from Papermark to Hanzo Dataroom
- Replace all Papermark branding with Hanzo Dataroom
- Update metadata, titles, descriptions, OG tags
- Update email templates footer and branding
- Replace papermark.io/com URLs with dataroom.hanzo.ai
- Update powered-by component
- Update x-powered-by header
- Update legal references to Hanzo AI, Inc.
- Update social handles to @hanzoai
- Update README, CLA, LICENSE, SECURITY docs
2026-03-01 19:02:19 -08:00

24 lines
630 B
TypeScript

import { sendEmail } from "@/lib/resend";
import DataroomTrial24hReminderEmail from "@/components/emails/dataroom-trial-24h";
export const sendDataroomTrial24hReminderEmail = async (params: {
email: string;
name: string;
}) => {
const { email, name } = params;
const emailTemplate = DataroomTrial24hReminderEmail({ name });
try {
await sendEmail({
to: email,
from: "Marc Seitz <[email protected]>",
subject: "Your Data Room plan trial expires in 24 hours",
react: emailTemplate,
test: process.env.NODE_ENV === "development",
});
} catch (e) {
console.error(e);
}
};