Skip to main content

Documentation 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.

The Cold Email Writer generates short, persuasive outreach emails from a single context description. It sends your prompt to /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

1

Open the Cold Email Writer

Navigate to /utilities/cold-email-writter in your AI360 app.
2

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.
3

Generate the email

Click Generate Email. Skeleton placeholders appear while Gemini composes the message.
4

Review, copy, and send

Your email appears in the Your Email panel. Review it, click Copy, then paste it into your email client or CRM.

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
Example context prompts:
SaaS project management tool targeting startup CTOs. We eliminate sprint planning
overhead by 40%. Offering a 30-day free trial with onboarding support.
Freelance copywriter reaching out to e-commerce brand founders. I specialize in
product description pages that lift conversion rates. Sharing two before/after
examples and offering a free audit of their top three pages.
B2B lead-gen agency contacting Jane Doe, Head of Growth at TechCorp. We generated
200+ qualified demos for a similar SaaS company last quarter. Want to show how we
could do the same for TechCorp's Q3 pipeline.

API integration

Call the cold email endpoint directly from any client or server-side code:
const response = await fetch('/api/utilities/cold-email', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ userPrompt: 'Context about your product and target audience...' })
})

const { coldEmail } = await response.json()

Request & Response

POST /api/utilities/cold-email
userPrompt
string
required
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

coldEmail
string
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

StatusConditionResponse body
400userPrompt is missing or empty{ "error": "Missing cold email context." }
500Gemini generation failed{ "error": "Failed to generate cold email." }
Best practices for effective cold email context:
  • Be specific about the prospect. “Marketing managers at B2B SaaS companies with 50–200 employees” outperforms “businesses”.
  • Lead with the outcome, not the feature. Instead of “we have an AI analytics dashboard”, say “we help growth teams cut reporting time by half”.
  • Include a clear call to action. Tell the AI what you want the recipient to do: book a 15-minute call, reply for a free audit, claim a trial.
  • Keep context under 200 words. Gemini works best when the prompt is focused — if you over-explain, the output can lose its punch.
  • Iterate. Run the same context twice for variation, or tweak one element (audience, offer, CTA) and compare outputs.

Build docs developers (and LLMs) love