Send PDF email
send_pdf_emailRequires print. Email a PDF that this MCP session already created. job_id comes from print_labels, print_shipping_mark, or a completed start_print_job. Without to, the message goes to the Cloudlabels user on this API key. Pass to only when the user asked for another address. Optional cc and bcc are a string or an array of up to 5 addresses each. Optional reply_to sets only the Reply-To header. From stays the Cloudlabels Resend domain. Recipients across to, cc, and bcc are limited to 10 after duplicates are removed. The body is a short note and the download link, not an order table. Line breaks in note stay in the email. A block of lines that all start with "1. " or "- " becomes a list. The PDF is attached. Sends immediately when every recipient is you or another member of this organization. An address on to, cc, or bcc is external when it is not the API key user and not another user email in this organization. Comparison folds ASCII A-Z only. reply_to is not a recipient. External recipients require a confirm step: the first call does not send. It returns confirmation_required, confirm_token, and summary with recipients, reply_to, subject, the note, and pdf_name. Call again with the same arguments plus confirm_token. The token is bound to this key, this organization, and the exact recipients, subject, note, and PDF. It expires in 5 minutes and works once. A confirm boolean is ignored. From stays the Cloudlabels Resend domain.
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": {
"job_id": "<job_id>"
},
"name": "send_pdf_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| note | No | ||
| job_id | Yes | ||
| subject | No | ||
| reply_to | No | ||
| confirm_token | No |