Email Draft

Draft an email for a purpose, tone and context you supply, with subject options, body text and key phrases.

Pay by wallet (x402) AI-generated email-draft

Example

Example answer
{
  "body": "Dear Recipient,\n\nI hope this message finds you well. I am reaching out to connect regarding our automated capability testing initiative.\n\nThis communication serves as a demonstration of our professional email communication standards and formatting protocols. We are committed to maintaining clear, concise, and effective correspondence.\n\nShould you have any questions or require additional information, please do not hesitate to contact me directly.\n\nThank you for your time and consideration.\n\nBest regards,\nSender",
  "word_count": 78,
  "tone_applied": "professional",
  "intent_applied": "general",
  "key_phrases_used": [
    "I hope this message finds you well",
    "reaching out to connect",
    "do not hesitate to contact me",
    "Thank you for your time and consideration",
    "Best regards"
  ],
  "subject_line_options": [
    "Professional Outreach - Testing Capabilities",
    "Inquiry Regarding Automated Communication Systems",
    "Test Message - Professional Communication Framework"
  ]
}

Inputs

FieldTypeRequiredWhat it is
tonestringNo—
intentstringNo—
contextstringYes—
recipient_contextstringNo—

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
bodystringAlways (present in every successful answer)
word_countintegerAlways (present in every successful answer)
key_phrases_usedarrayAlways (present in every successful answer)
subject_line_optionsarrayAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "email-draft",
    "inputs": {
      "context": "This is a test input for automated capability testing.",
      "recipient_context": "This is a test input for automated capability testing."
    },
    "max_price_cents": 5
  }'

Limitations

  • Drafts can miss relationship or thread context

    Generated drafts follow standard professional templates — may not capture nuances of existing email threads or relationships

    What to do instead: Include relevant context from prior correspondence in the input to improve tone and content relevance

Related tools