The Cold Email Writer generates short, persuasive outreach emails from a single context description. It sends your prompt toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nayalsaurav/ai360/llms.txt
Use this file to discover all available pages before exploring further.
/api/utilities/cold-email, where Gemini 2.5 Flash operates under a marketing specialist system persona — crafting emails that are direct, compelling, and tailored to the prospect you describe. Just tell it who you’re contacting, what you’re offering, and why it matters, and it hands back a ready-to-send message in seconds.
How to use
Write your context
In the Email Context textarea, describe your product or service, your target prospect, and your core value proposition. The richer the context, the more relevant the output.
Generate the email
Click Generate Email. Skeleton placeholders appear while Gemini composes the message.
What makes a good context prompt
The quality of the generated email depends almost entirely on how well you describe the situation. A weak prompt produces a generic email; a specific one produces something that feels hand-crafted. Include these elements for best results:- Who you’re contacting — name, title, or role (e.g., “startup CTO”, “VP of Sales at a mid-market SaaS company”)
- What you’re offering — your product, service, or ask
- Why it’s relevant to them — a specific pain point, use case, or outcome they care about
- A concrete hook — a limited-time offer, a mutual connection, a recent event, or a stat
API integration
Call the cold email endpoint directly from any client or server-side code:Request & Response
POST /api/utilities/cold-email
A natural-language description of your campaign context: who you’re emailing, what you’re offering, and why it’s relevant to them. This becomes the basis of the entire email. The field must be non-empty.
Success response
The generated cold email as a plain-text string, ready to copy and send. Includes a subject line suggestion, greeting, body, and closing signature as composed by the Gemini marketing specialist persona.
Error responses
| Status | Condition | Response body |
|---|---|---|
400 | userPrompt is missing or empty | { "error": "Missing cold email context." } |
500 | Gemini generation failed | { "error": "Failed to generate cold email." } |