Optimize Email For Prospect
optimize_email_for_prospectGenerate or refine a personalized cold email for a CRM prospect.
Composite tool: combines audience profiling (OCEAN + Cialdini), optional agent profiling from writing samples, draft generation (if no draft is supplied), and persuasion + platform scoring in a single call. Designed for CRM integrations like Clarify, HubSpot, Salesforce — pass a Person/Account context, get back a draft + scoring.
Returns:
audience_profile: OCEAN scores, ELM route, Cialdini principle
agent_profile: prospect's writing style (if samples provided)
draft: generated or echoed email body
draft_was_generated: bool — whether COS generated the draft
persuasion + platform: full scoring breakdowns
rewrites: prioritized rewrite suggestions
one_thing: the single most important next step
cialdini_principle: recommended influence principle
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| draft | No | Existing draft to score + refine. If None, a draft is generated. | |
| title | No | ||
| domain | No | Persuasion domain (default "business"). | business |
| intent | No | Email intent ("cold_outreach", "follow_up", "reactivation", "warm_intro", "demo_request", "discovery_call", "proposal_recap"). | cold_outreach |
| company | No | ||
| industry | No | ||
| recent_signals | No | List of recent activity/triggers from the CRM (e.g. ["downloaded ROI calculator", "viewed pricing 3x"]). | |
| sender_context | No | Who the sender is and what they're pitching. | |
| include_scoring | No | Run persuasion + platform scoring on the draft. Default (None): scoring runs ONLY when a draft was supplied (refine path). On the generate path scoring is skipped by default (cuts latency from ~45s to ~10s). Set True to force scoring on a generated draft, or False to suppress scoring even when refining. | |
| writing_samples | No | 0-5 prospect writing samples (emails, posts). Each ≥50 chars. Profiled if provided. | |
| audience_description | Yes | REQUIRED. Free-text describing the prospect (role, industry, behaviors, pain points, recent signals). 10-2000 chars. This seeds the audience profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||