draft_email
Write a business email body from a short brief. Returns JSON { email, cached } containing the body only — no subject line, no recipient, and nothing is sent anywhere. Choose this over generate_text when the output should be a whole email; use humanize_text to rewrite an email you already drafted. Paid model call. Anonymous callers get 3 per hour per IP and are then refused with 401; signed-in callers get 15 per minute per IP. Length is capped at roughly 400 tokens. Identical briefs may return a cached draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tone | No | Register of the writing. Default formal. Passed to the model as an instruction, so it shapes wording rather than enforcing a fixed template. | |
| prompt | Yes | What the email needs to say: purpose, recipient context, and any facts to include. A sentence or two is enough. Required and must not be blank. |