Reply to a ticket via email (CUSTOMER-FACING — sends real mail)
reply_mailSend a reply email to a customer on a Re:lation ticket. Requires message_id, mail account, and confirm_send flag to prevent accidental sends.
Instructions
Send an email reply on a Re:lation ticket. The email goes directly to the customer.
Safety: you MUST pass confirm_send: true. Without it the call is rejected. This guards against an agent accidentally firing a send during tool chaining.
Flow:
Find the message to reply to (use
get_ticketorsearch_ticketsto find a message_id).Find the mail_account_id to send from (use
list_mail_accounts).Call
reply_mailwith subject / body / to / status_cd / confirm_send.
After a successful send the returned object contains the new message_id and ticket_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_box_id | No | ||
| message_id | Yes | ID of the customer message being replied to (from get_ticket / search_tickets). | |
| mail_account_id | Yes | ID of the mail account to send from (see list_mail_accounts). | |
| to | Yes | Recipient address. Typically the customer email. | |
| cc | No | ||
| bcc | No | ||
| subject | Yes | Subject. Usually prefixed "Re: " when replying. | |
| body | Yes | Mail body. | |
| is_html | No | ||
| status_cd | Yes | Ticket status to set after sending. Usually "closed" for resolved or "ongoing". | |
| pending_reason_id | No | ||
| confirm_send | Yes | Must be literal boolean true. A safety interlock — if omitted or false the server refuses to send. |