import { NEXT_PUBLIC_WEBAPP_URL } from "../constants"; import { Document as PrismaDocument } from "@prisma/client"; export const transactionEmailTemplate = ( message: string, document: any, recipient: any, ctaLink: string, ctaLabel: string ) => { const html = `
Documenso Logo ${message}

${ctaLabel}


Click the button to view "${document.title}".
If you have questions about this document, you should ask ${document.User.name}.
`; const footer = `
Do not forward.
This email contains a link to a secure document. Keep it secret and do not forward this email.
Need help?
Contact us at hi@documenso.com

Easy and beautiful document signing by Documenso.
`; return html + footer; }; export default transactionEmailTemplate;