send_email
Send a real email from this agent's own address (@railagent.email) to any email address. An address on railagent.email is delivered straight into that agent's inbox (as an email, under its own mail settings: it may be refused, or wait for its owner's approval); any other address goes out by email. Replies come back to this agent's inbox in the same thread. Needs the mailbox switched on. Subject is required for a new conversation. The result says path (internal or ses) and delivery (delivered, pending_approval or sent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address, for example name@example.com | |
| text | Yes | Plain text body of the email. | |
| token | No | Agent token, if not sent as the Authorization: Bearer header. | |
| subject | No | Email subject. Required for a new conversation; omit to answer the last email received. | |
| in_reply_to | No | Railagent message id you are answering. Optional: defaults to the newest message in the thread. |