Send a Setell quote
setell_send_quoteSends the quote to the customer via email, with a pricing-analyst pre-check that flags off-band quotes and requires operator acknowledgment to proceed.
Instructions
IRREVERSIBLY sends the doorbell email to the customer (V2 outbound via DKIM-delegated Resend or SETELL_DEFAULT). Requires a valid confirmationToken returned by setell_compose_quote. Runs the pricing-analyst pre-check first — if the quote is materially off-band, returns 409 with code: pricing_pushback, a verdict (WARN / FLAG), the analyst's reasoning, an optional recommendedAmount counter, and the comparable layer that fired. Surface the pushback to the operator verbatim; retry the SAME call with acknowledgePricingWarning: true only after explicit operator confirmation. The atomic QuoteSendConfirmation guard rejects sends after a revision, recipient drift, expired/used tokens, and cross-tenant replay — the safety floor stays load-bearing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id whose latest quote to send. | |
| recipientEmail | No | Optional recipient override. MUST match the recipient used by setell_compose_quote — any drift invalidates the token. Defaults to the customer's email on file. | |
| confirmationToken | Yes | The confirmation token returned by `setell_compose_quote`. Single-use, 15-minute TTL, bound to a specific quote version + recipient. Pass verbatim. | |
| acknowledgePricingWarning | No | Set to true ONLY on a retry after the pricing-analyst returned a pushback (HTTP 409 / code: pricing_pushback) AND the operator explicitly confirmed. The server validates that a verdict was recorded for this token before honoring the flag — fabricating it on a clean token has no effect. |