{"uid":"cap_Mu1gXJHP18va-LhlLWfeB","slug":"api-strale-io-583f52ac","name":"Strale Email Draft Generator","description":"Draft a professional email. Specify context, intent (cold outreach/follow-up/apology/etc), and tone. Returns subject line options, body, and key phrases.","url":"https://api.strale.io/x402/email-draft","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["context"],"properties":{"tone":{"type":"string"},"intent":{"type":"string"},"context":{"type":"string"},"recipient_context":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"tone":"professional","intent":"follow-up","context":"Following up on a previous conversation about implementing a new project management tool for our engineering team","recipient_context":"Engineering manager at a mid-size tech company"}}},"response":{"body":"Dear [Manager Name],\n\nI hope this email finds you well. I wanted to follow up on our previous conversation regarding the implementation of a new project management tool for your engineering team.\n\nGiven the potential benefits this solution could bring to your workflow—including improved task visibility, streamlined collaboration, and enhanced project tracking—I believe it would be valuable to move forward with the next steps.\n\nTo help us progress efficiently, I would like to:\n\n• Schedule a brief meeting to address any questions or concerns\n• Provide a customized demo tailored to your team's specific needs\n• Share case studies from similar implementations in the tech industry\n\nPlease let me know your availability over the coming week, and I'll be happy to accommodate your schedule.\n\nThank you for your consideration, and I look forward to discussing this further.\n\nBest regards,\n[Your Name]\n[Your Title]\n[Contact Information]","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x3f5db743ebf716569a582029516edd70dff353c2a07626f0fdf2506748abb7fc"},"capability":"email-draft","latency_ms":3446,"provenance":{"source":"claude-haiku","fetched_at":"2026-06-18T04:25:28.458Z"}},"word_count":167,"tone_applied":"professional","intent_applied":"follow-up","key_phrases_used":["following up on our previous conversation","next steps","potential benefits","move forward","I would like to","customized demo","please let me know your availability"],"subject_line_options":["Following Up: Project Management Tool Implementation for Engineering Team","Next Steps on Engineering Team PM Tool Discussion","Re: Project Management Tool Proposal - Action Items"]}},"exampleRequest":{"tone":"professional","intent":"follow-up","context":"Following up on a previous conversation about implementing a new project management tool for our engineering team","recipient_context":"Engineering manager at a mid-size tech company"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tilIz5GtiSv4I33YTHrRL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Drafts professional emails with subject line options, body text, and key phrases based on context, intent, and tone","exampleAgentPrompt":"Draft me a cold outreach email to a VP of Engineering at a mid-size SaaS company — I want to pitch our developer tooling product, keep the tone confident but not pushy, and make sure the subject line is compelling enough to get opened.","exampleUseCases":null,"resultDescription":"Returns multiple subject line options, a complete email body, and a set of key phrases — all tailored to the specified context, intent type (cold outreach, follow-up, apology, etc.), and tone.","failureModes":["Missing required 'context' query parameter returns a 400 error","Vague or extremely short context may produce generic, low-quality output","Unsupported intent or tone values may fall back to defaults or return validation errors","Payment failure or insufficient USDC balance returns a 402 Payment Required","Rate limiting or overload may return a 503 error"],"whenToPreferThis":"Choose this endpoint when you need to quickly generate a structured, professional email with subject line variants and key phrases — especially for common business scenarios like cold outreach, follow-ups, or apologies. Prefer this over general-purpose LLM prompting when you want a specialized output format that includes subject options and key phrases in a single structured response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:01:07.919Z","isFirstParty":false}