Skip to main content
Every e-sign email DocsAutomator sends (invitation, resend, reminder, completion, progress, decline and expiration notice) produces a delivery record. The record states which mail provider took the message, from which mailbox, and whether the provider accepted it. Use it when your own system must know that an email was handed to a provider, instead of assuming it from document generation or session creation.

The delivery record

The three outcomes

Treat unknown as an action item. Resend the invitation from the session page or the API, or copy the signing link and deliver it yourself.

Where to read it

Session detail

GET /esign/sessions/:sessionId returns inviteDelivery on each signer. It holds the record of the most recent invitation or resend to that signer. Sessions created before delivery tracking existed have no inviteDelivery. GET /esign/sessions returns the summary field inviteOutcome (accepted, failed, unknown or null) on each signer.

Audit trail

GET /esign/sessions/:sessionId/audit includes the record as metadata.delivery on these events: Reminders and completion emails are recorded in the audit trail only. They do not update inviteDelivery.

Webhooks

If the automation has a webhook URL and webhook notifications are on, DocsAutomator posts one event per email:
esign.email_failed has the same shape with outcome set to failed or unknown. signerIndex is null for emails to notification recipients who are not signers.
These events go to the same webhook URL as esign.signer_signed and the other e-sign events. Branch on the event field.
To know conclusively what happened to an invitation:
  1. Create the document as usual. Do not treat the generation response or the esign.session_created webhook as proof that any email was sent.
  2. Listen for esign.email_sent and esign.email_failed with email.kind equal to invitation or resend. Match on sessionId and email.signerIndex.
  3. If you poll instead, read signers[].inviteDelivery.outcome from GET /esign/sessions/:sessionId. A signer whose inviteDelivery is missing several minutes after session creation had the send job fail before any provider was reached; check the run in Documents for the error.

Fallback to DocsAutomator’s sender

When an automation sends from a connected Gmail or Outlook mailbox and that mailbox rejects the message (for example, the connection expired or Google returned an error), DocsAutomator sends the same email through its own sender, sign@esign.docsautomator.co, so the signing request still goes out. The delivery record shows this as provider: "postmark" with fallbackFrom and fallbackReason set. In that case nothing appears in the Gmail or Outlook Sent folder. A mailbox timeout does not fall back. It is recorded as unknown, because the mailbox may already have sent the message.

Bounces and non-delivery

DocsAutomator receives no bounce, rejection or non-delivery information for e-sign emails, whichever provider sent them. For Gmail and Outlook, bounce notices arrive in the sending mailbox as a normal message from the mail system; DocsAutomator does not read that mailbox.
Last modified on September 23, 2026