$ man email-draft
/email-draft
NAME
email-draft — writes emails with ai: subject, body, salutation, and sign-off
SYNOPSIS
POST https://x402.agentutility.ai/email-draft
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Writes emails with AI: subject, body, salutation, and sign-off. 7 tones x 10 email types (cold_outreach, follow_up, decline, reply, internal_update, thank_you, intro, request, apology, general), with length controls. Use it as an AI email writer, cold outreach drafter, or follow-up generator.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| prompt | string | Brief describing the email's goal and context. Max 4,000 chars. | required |
| recipient_name | string | Optional. Recipient's name, used in the salutation. | optional |
| sender_name | string | Optional. Sender's name for the sign-off. Defaults to a '[Your name]' placeholder. | optional |
| tone | string | Optional. formal, casual, friendly (default), warm, direct, apologetic, or enthusiastic. | optional |
| email_type | string | Optional. cold_outreach, follow_up, decline, reply, internal_update, thank_you, introduction, request, apology, or general (default). | optional |
| length | string | Optional. very_short, short, medium (default, ~80-150 words), or long (~150-300 words). enum: very_short · short · medium · long | optional |
| cta | string | Optional. Call to action to include, e.g. 'schedule a call this week'. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| subject | string | Generated subject line for the email. |
| body | string | Main email body text between salutation and sign-off. |
| salutation | string | Opening greeting line (e.g. 'Hi Sarah,'). |
| sign_off | string | Closing line with sender name (e.g. 'Best, Adam'). |
| word_count | number | Total word count of the generated body. |
| estimated_reading_seconds | number | Estimated time in seconds for a typical reader to finish the email. |
| tone | string | Tone that was applied to the generated draft. |
| email_type | string | Email category that was generated. |
| length | string | Length bucket the draft was generated at. |
| model | string | Identifier of the AI model that produced the draft. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/email-draft \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the email-draft tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- emailwritingoutreachai
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.02 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| alt-text-generator | Turns a public image URL into ready-to-use text: concise alt text for screen readers, a natural-language description, OCR text pulled fro… | $0.02 |
| classify | Sort text into categories you define on the spot, no training run required. | $0.02 |
| classify-text | Sorts a piece of text into categories you define on the fly, no training or fixed label set required. | $0.02 |
| describe-image | Describes images with a vision LLM across five modes: describe, alt_text (accessibility, <=125 chars), OCR (extract visible text), tags (… | $0.02 |
| detect-pii | Detects PII in text: emails, phones, SSNs, credit cards, addresses, names, IPs, and API tokens. | $0.02 |
| extract | Pull structured entities out of raw text instead of hand-parsing it yourself. | $0.02 |
| image-describe | Get a vision model's read on an image: a description, alt text, extracted text, tags, or a caption. | $0.02 |
| image-description | Takes a public image URL and returns an AI vision description, alt text, OCR text, tags, or caption depending on mode. | $0.02 |
SEE ALSO