The Cold Email endpoint generates a short, persuasive outreach email tailored to any product, campaign, or pitch context you supply. Google’s Gemini 2.5 Flash model acts as a marketing specialist, crafting compelling copy designed to grab attention and drive action.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.
Request
The campaign or product context the cold email should be written around. This
can include the product name, target audience, key benefits, call-to-action,
or any other relevant details. Richer context produces higher-quality output.
Response
A successful request returns HTTP 200 with the following body:The AI-generated cold email as a plain-text (or lightly formatted) string,
ready to be copied, edited, or sent.
Error Responses
| Status | Body | Cause |
|---|---|---|
400 | { "error": "Missing cold email context." } | userPrompt was absent or empty. |
500 | { "error": "Failed to generate cold email." } | Gemini API call failed or an unexpected server error occurred. |
The model is prompted with a marketing specialist persona. Providing specific
context — such as the product name, target pain points, and desired
call-to-action — significantly improves the relevance and quality of the
generated email.