Replaces Mailchimp Templates ($20/mo)
One API call: describe your email, get back a GPT-4o drafted email with HTML template, plain text version, 3 subject line variants, and word count metrics. Supports product launches, onboarding, sales, recaps, and win-back emails.
GPT-4o generates subject line + email body from your context and tone
Generates 3 alternative subject lines for A/B testing
Word count, sentence count, and reading time
Renders into a responsive HTML email template with inline styles
Extracts clean plain text version for multi-part emails
5 email types tested on production — all passed.
“Introducing Our New AI-Powered SEO Auditor”
“Welcome to CallTwin! Your AI-Powered Call Experience Awaits”
“Act Fast: 50% Off Annual Plans for 48 Hours Only!”
“Your Monthly Progress Report: Outstanding Achievements”
“We Miss You! Here's What's New and a Gift for You”
curl -X POST https://jarvissdk.com/api/v1/chain \
-H "x-api-key: jsk_your_key" \
-H "Content-Type: application/json" \
-d '{
"steps": [
{"module": "ai-writer", "action": "email-draft", "input": {
"subject": "New Product Launch",
"context": "Write a marketing email about our new AI tool...",
"tone": "professional"
}},
{"module": "ai-writer", "action": "generate", "input": {
"prompt": "Generate 3 subject line variants: {{prev.body}}",
"tone": "marketing", "max_length": 100, "format": "text"
}},
{"module": "text-toolkit", "action": "word_count", "input": {
"text": "{{steps[0].body}}"
}},
{"module": "template-engine", "action": "render", "input": {
"template": "<html>...<h1>{{subject}}</h1><div>{{body}}</div>...</html>",
"data": {"subject": "{{steps[0].subject}}", "body": "{{steps[0].body}}"}
}},
{"module": "html-toolkit", "action": "extract-text", "input": {
"html": "{{prev.rendered}}"
}}
],
"auto_install": true
}'
# Response includes:
# results[0].output.subject — AI-generated subject line
# results[0].output.body — Full email body
# results[1].output.content — 3 alternative subject lines
# results[3].output.rendered — Complete HTML email
# results[4].output.text — Plain text versionAI-generated emails with HTML, plain text, and A/B subject lines. One API call.