The local-fill EOI pathway creates fresh Documenso envelopes via createDocument, which (unlike the template pathway that inherits template 8's all-false emailSettings) used Documenso's defaults — every email event defaults to true on both the v1 and v2.13 APIs. So Documenso fired its OWN unbranded "Waiting for others to complete signing." and "Signing Complete!" emails (signed PDF attached, reply-to sales@), bypassing EMAIL_REDIRECT_TO and duplicating the CRM's branded sends. Force emailSettings to all-false (DOCUMENSO_SILENT_EMAIL_SETTINGS) on every createDocument call (v1 JSON + v2 multipart). The CRM stays the sole sender of signing comms. Verified against the live v2.13 OpenAPI + template 8's stored meta. Also stop the EMAIL_REDIRECT_TO gate from appending "(was: <email>)" to the recipient NAME: a "Name" field auto-fills from it into the signed PDF, so the annotation overlapped the signature. Redirect the email only; the original is still logged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 KiB
13 KiB