Skip to main content

Email Generator

Generate professional emails and email replies with appropriate tone, structure, and compelling subject lines. Perfect for business communication, customer service, marketing campaigns, and personal correspondence.

Email Types

  • Email Generator - Create new emails from scratch for any purpose
  • Email Reply Generator - Generate thoughtful replies to existing email conversations

Available Models

Both email generators support major AI models:

  • Anthropic: Claude 3.5 Haiku, Claude 3.5 Sonnet, Claude 3.7 Sonnet, Claude 4 Opus, Claude 4 Sonnet
  • OpenAI: GPT-3.5, GPT-4 Turbo, GPT-4o, GPT-4.1, GPT-5, o1, o3, o4
  • Google: Gemini 1.0 Pro, Gemini 1.5 Flash/Pro, Gemini 2.0/2.5 Flash/Pro
  • Others: Mistral, Meta LLaMA, DeepSeek, Grok 2, Command R

Request Parameters

Field NameTypeDescriptionRequired
typetextEmail type (see types below)✔️
modeltextAI model identifier✔️
conversationIdtextSame as type value✔️
promptObject.tonestringEmail tone (professional, friendly, formal, casual, etc.)✔️
promptObject.languagestringContent language✔️
promptObject.promptstringEmail context, purpose, or original email to reply to✔️

Email Types

  • CONTENT_GENERATOR_EMAIL - Generate new emails
  • CONTENT_GENERATOR_EMAIL_REPLY - Generate email replies

Endpoint

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "CONTENT_GENERATOR_EMAIL",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_GENERATOR_EMAIL",
"promptObject": {
"tone": "professional",
"language": "English",
"prompt": "Write a follow-up email to a potential client after a successful product demo meeting. Express gratitude for their time, summarize key benefits discussed, and propose next steps for moving forward with the partnership."
}
}'

JavaScript Examples

// Generate a new email
const generateEmail = async () => {
const response = await fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'CONTENT_GENERATOR_EMAIL',
model: 'claude-3-5-sonnet-20240620',
conversationId: 'CONTENT_GENERATOR_EMAIL',
promptObject: {
tone: 'professional',
language: 'English',
prompt: 'Write a welcome email for new software trial users'
}
})
});

return await response.json();
};

// Generate an email reply
const generateEmailReply = async () => {
const response = await fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'CONTENT_GENERATOR_EMAIL_REPLY',
model: 'claude-3-5-sonnet-20240620',
conversationId: 'CONTENT_GENERATOR_EMAIL_REPLY',
promptObject: {
tone: 'helpful',
language: 'English',
prompt: 'Customer inquiry about product compatibility issues'
}
})
});

return await response.json();
};

Python Example

import requests

# Generate a new email
def generate_email():
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}

data = {
"type": "CONTENT_GENERATOR_EMAIL",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_GENERATOR_EMAIL",
"promptObject": {
"tone": "professional",
"language": "English",
"prompt": "Write a project status update email for stakeholders"
}
}

response = requests.post(url, headers=headers, json=data)
return response.json()

# Generate an email reply
def generate_email_reply():
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}

data = {
"type": "CONTENT_GENERATOR_EMAIL_REPLY",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_GENERATOR_EMAIL_REPLY",
"promptObject": {
"tone": "empathetic",
"language": "English",
"prompt": "Customer complaint about delayed delivery"
}
}

response = requests.post(url, headers=headers, json=data)
return response.json()

Interactive Playground

API Playground

https://api.1min.ai/api/features

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "CONTENT_GENERATOR_EMAIL",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_GENERATOR_EMAIL",
"promptObject": {
"tone": "professional",
"language": "English",
"prompt": "Write a follow-up email to a potential client after a successful product demo meeting."
}
}'

Email Features

New Email Generator

  • Subject Line Creation: Compelling subject lines that improve open rates
  • Professional Structure: Proper greeting, body, and closing structure
  • Purpose-Driven Content: Content tailored to specific business objectives
  • Call-to-Action Integration: Clear next steps and desired actions
  • Brand Voice Consistency: Maintains consistent tone and messaging

Email Reply Generator

  • Context Awareness: Understands original email content and context
  • Appropriate Response: Generates relevant and thoughtful replies
  • Tone Matching: Matches or appropriately adjusts tone from original
  • Professional Courtesy: Maintains professional email etiquette
  • Action-Oriented: Includes clear responses to questions and requests

Use Cases

  • Business Communication: Client outreach, partnership proposals, meeting follow-ups
  • Customer Service: Support responses, issue resolution, feedback collection
  • Marketing Campaigns: Newsletter content, promotional emails, event invitations
  • Internal Communication: Team updates, project status, announcements
  • Sales Outreach: Lead nurturing, proposal follow-ups, relationship building

Best Practices

  • Clear Purpose: Define the email's main objective in your prompt
  • Audience Consideration: Specify recipient relationship and context
  • Appropriate Tone: Choose tone based on relationship and purpose
  • Actionable Content: Include specific next steps or calls-to-action
  • Professional Standards: Maintain proper email etiquette and formatting

Response Format

Each email generator returns properly structured emails with subject lines, greetings, body content, and professional closings optimized for the specified purpose and tone.