cancel_send
Cancel a queued email before it sends to prevent delivery. Works only while the message is pending, and returns canceled: false if it has already been sent.
Instructions
Cancel a send_email call that was queued because PROTONMAIL_SEND_DELAY_SECONDS is set. Only works while the item is still pending — once it has actually sent, this returns canceled: false. No effect (throws) if PROTONMAIL_SEND_DELAY_SECONDS is 0, since nothing is ever queued in that case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id returned by a queued send_email call. |