Mail a letter
send_letterPrints and mails a real letter. Pass letter_id from preview_letter (recommended: the user has seen the proof), or batch_id for a mail merge, or the same fields as preview_letter to preview and send in one step; letter_id plus other fields re-renders with those changes. First letter on an account: returns status "needs_setup": show message_for_user as written (the link must be visible), then call wait_for_setup(setup_code); the letter goes out once they pay. After that it returns "scheduled" with cancel_until: it waits in an undo window before going to the printer. Follow with get_letter. $2.49 a 1-page letter ($0.25/extra page), certified $10.99, with return receipt $13.99, international $4.49; previews free. Never threats, harassment, or letters in someone else's name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Recipient's mailing address. Use check_address to find a business's address or to verify one. | |
| No | Bring your own PDF instead of body: an upload id from upload_file (f_...), an https URL, or base64. Any page size is fit to US Letter. | ||
| body | No | The letter text in markdown (paragraphs, **bold**, lists, pipe tables). ONLY the body: no addresses, date, greeting is optional, no sign-off or signature (those are separate fields and laid out for you). | |
| date | No | Printed date. Default today ("November 27, 2026"); "none" to leave it off. | |
| font | No | Default serif. handwriting suits personal notes. | |
| from | No | Return address: the user's own name and US mailing address. Required on the first letter, then saved. | |
| color | No | Print in color (photos, logos). Default black and white. | |
| label | No | Your own name for it, e.g. "Deposit demand to Northgate" | |
| merge | No | {{field}} values for body/subject | |
| style | No | ||
| closing | No | Default "Sincerely,". "none" to leave it out. | |
| contact | No | Contact lines for letterhead="full" | |
| subject | No | The Re: line, e.g. "Return of security deposit for 12 Elm St, Apt 4" | |
| batch_id | No | From preview_letter with recipients | |
| letter_id | No | From preview_letter (ltr_...) | |
| mail_date | No | Mail on a later date (YYYY-MM-DD, within 180 days) instead of now | |
| signature | No | script (default, blue ink), handwritten (casual), typed, image (the user's saved signature), none | |
| enclosures | No | Listed as "Enclosures:" after the signature | |
| letterhead | No | Top-right letterhead: none, the sender's name (default), or name + address + contact | |
| mail_class | No | Default first_class. certified = tracking + proof of mailing; certified_return_receipt adds proof of delivery (signature). International mail is always First-Class International. | |
| postscript | No | P.S. line | |
| recipients | No | Mail merge: several recipients (same fields as `to`, plus an optional `merge` map) get the same letter, with {{name}}, {{first_name}}, {{company}} or any {{field}} from their merge map filled in. Use instead of `to`. | |
| references | No | Lines under the subject: account, claim, invoice or case numbers | |
| salutation | No | Default: made from the recipient ("Dear Ms. Lee," or "To whom it may concern:"). "none" to leave it out. | |
| account_key | No | Only for clients without OAuth: a saved sfm_ key. Leave out when connected. | |
| attachments | No | Exhibits printed after the letter (PDFs or photos): upload ids, https URLs or base64. List them in `enclosures` too. | |
| signer_name | No | Printed under the signature (default: the return address name) | |
| double_sided | No | Print on both sides (fewer sheets). Default single-sided. | |
| signer_title | No | Second line under the name, e.g. "Owner, Ridgeline Print Co" | |
| pdf_placement | No | For pdf: auto (default) checks whether page 1 is blank where the envelope windows go and adds an address page only if not | |
| must_arrive_by | No | A deadline (YYYY-MM-DD): the preview warns if delivery likely misses it |