cancel_outbound_mail
Cancel a queued outbound mail job before facility printing starts. If the mail was funded with prepaid credits, eligible credits are returned to the member ledger. Safe to retry: already-cancelled mail returns cancelled status without creating a duplicate refund. In chat, report cancellation status, returned credits, updated balance, and whether it had already been cancelled. If a transient error occurs, poll the mail status and credits before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mail_id | Yes | UUID of the queued outbound mail job to cancel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Cancelled queued outbound mail and returned credits when eligible. |