send_draft_email
Send a REVIEW COPY of an email to the rep for approval — NOT to the lead. Renders exactly as the real send (same from-address/signature/placeholders via the lead+campaign) but is delivered to the reviewer and clearly marked as a draft: the subject is prefixed '[DRAFT — review copy]' and a banner naming the real intended recipient is prepended to the body. Recipient defaults to the authenticated caller's own account email; pass to_address to send the review copy somewhere else. Required: lead_id, subject, body. Optional: to_address (review recipient), campaign_id, intended_to (the lead's real address, shown in the banner), bcc. NOTE: the campaign's bcc_emails archive does NOT apply here — a review copy never reached the lead, and filing it would make the archive unreadable; pass bcc explicitly if this copy should go somewhere else too. Returns { ok, draft_id, sent_to }. After approval, call send_email to send the real thing to the lead.
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": {
"lead_id": "<lead_id>",
"subject": "<subject>",
"body": "<body>"
},
"name": "send_draft_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bcc | No | Blind-copy recipients for this review copy — array or comma-separated string. The campaign's archive BCC is deliberately not applied to review copies. | |
| body | Yes | Body text | |
| lead_id | Yes | ID of the lead | |
| subject | Yes | Subject line | |
| body_html | No | Optional designed HTML version of the mail, sent UNCHANGED as the text/html part (multipart/alternative); body stays required and is the plain-text part. Attachment links, unsubscribe and AI notice are inserted before </body> (or appended). Max 512 KB; link images, no data: URLs. | |
| to_address | No | Where to send the review copy (default: caller's own email) | |
| campaign_id | No | ID of the campaign | |
| intended_to | No | The lead's real email, shown in the draft banner |