Send email after a human allows it
email.sendWrite Gate. Validates the message, runs Action Gate check_action for email.send, and sends only when the decision is go. Unpaid, missing DATABASE_URL, stop, and timeout do not send. If decision is wait, poll get_approval, then call email.send again with approval_id. Uses the human's connected Agentmail inbox. If email is not connected, returns stop and does not send. Same $49 Action Gate seat (plan=action).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | One recipient email address | |
| risk | No | Optional tag such as low, medium, or high | |
| text | No | Plain-text body the human approves | |
| subject | No | Subject the human approves | |
| approval_id | No | From a previous wait. Call again after get_approval returns go. |