Skip to content

The Open Source DocuSign Alternative.

fix-null-name-email

yashug82ccdd51045b
diff --git a/packages/lib/mail/signingRequestTemplate.ts b/packages/lib/mail/signingRequestTemplate.ts
index 7a2b518c2..0ce2c0cb5 100644
--- a/packages/lib/mail/signingRequestTemplate.ts
+++ b/packages/lib/mail/signingRequestTemplate.ts
@@ -18,7 +18,7 @@ export const signingRequestTemplate = (
</p>
<hr size="1" style="height:1px;border:none;color:#e0e0e0;background-color:#e0e0e0">
Click the button to view "${document.title}".<br>
- <small>If you have questions about this document, you should ask ${user.name}.</small>
+ <small>If you have questions about this document, you should ask ${user.name ?? user.email}.</small>
<hr size="1" style="height:1px;border:none;color:#e0e0e0;background-color:#e0e0e0">
<p style="margin-top: 14px;">
<small>Want to send you own signing links? <a href="https://documenso.com">Hosted Documenso is here!</a>.</small>