@tpmjs/email-subject-score
Scores email subject lines for open rate potential based on length, clarity, urgency, curiosity, and personalization. Provides detailed feedback and improvement suggestions.
r.some is not a function
Last checked: 3/1/2026, 4:28:28 AM
Test @tpmjs/email-subject-score (emailSubjectScoreTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/email-subject-scorepnpm add @tpmjs/email-subject-scoreyarn add @tpmjs/email-subject-scorebun add @tpmjs/email-subject-scoredeno add npm:@tpmjs/email-subject-scoreimport { emailSubjectScoreTool } from '@tpmjs/email-subject-score';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { emailSubjectScoreTool } from '@tpmjs/email-subject-score';
const result = await generateText({
model: openai('gpt-4o'),
tools: { emailSubjectScoreTool },
prompt: 'Your prompt here...',
});
console.log(result.text);How AI agents can use this tool
Use this tool when users need to evaluate and compare email subject lines for effectiveness. Helps optimize email marketing campaigns by scoring subjects on multiple criteria.
Scores are based on best practices and heuristics, not actual A/B testing data. Results are predictive and should be validated with real campaign data.
(subjects: string[]) => Promise<unknown>Available configuration options
subjectsstring[]Array of email subject lines to evaluate
Schema extracted: 3/1/2026, 4:28:27 AM
ERROR: No README data found!
Downloads/month
19
GitHub Stars
0
Quality Score