Reply to an inbound email
Sends an outbound reply to the inbound email identified by id. Threading headers (In-Reply-To, References), recipient derivation (Reply-To, then From, then bare sender), and the Re: subject prefix are all derived server-side from the stored inbound row. The request body carries only the message body, optional From override, optional attachments, and optional wait flag; passing any header or recipient override is rejected by the schema (additionalProperties: false).
Forwards through the same gates as /send-mail: the response status, error envelope, and idempotent_replay flag mirror the send-mail contract verbatim.
Headers
Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.
Request body
Response
Outbound relay result