delivery_notes_email
Sends a delivery note PDF to a registered client by email, with custom subject, body, CC, and BCC; rejects recipient addresses not registered as client emails.
Instructions
Send a delivery note to a client via email with the PDF attached. Supports custom subject, body, CC, and BCC recipients. Recipients (to, cc, bcc) must be client emails registered on the company; other addresses are rejected with EMAIL_RECIPIENT_NOT_CLIENT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>",
"to": "<to>"
},
"name": "delivery_notes_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses | |
| to | Yes | Recipient email address | |
| bcc | No | BCC email addresses | |
| body | No | Email body text (auto-generated if omitted) | |
| uuid | Yes | UUID of the delivery note to send | |
| subject | No | Email subject (auto-generated if omitted) | |
| companyId | No | Company UUID (overrides configured default) | |
| templateId | No | UUID of email template to use (category: delivery_note) |