import { sendMail } from "./sendMail"; import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants"; export const sendSignedMail = async (recipient: any, document: any) => { // todo check if recipient has an account await sendMail( document.User.email, `${recipient.email} signed "${document.title}"`, `
Documenso Logo ${document.User.name || recipient.email} has signed your document ${ document.title }.

View Document


Click the button to view ${document.title}.
If you have questions about this document, your should ask ${ document.User.name }.
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
` ); };