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
Loading available models...
Request Parameters
| Field Name | Type | Description | Required |
|---|---|---|---|
| type | text | Email type (see types below) | ✔️ |
| model | text | AI model identifier | ✔️ |
| conversationId | text | Same as type value | ✔️ |
| promptObject.tone | string | Email tone (professional, friendly, formal, casual, etc.) | ✔️ |
| promptObject.language | string | Content language | ✔️ |
| promptObject.prompt | string | Email context, purpose, or original email to reply to | ✔️ |
Email Types
CONTENT_GENERATOR_EMAIL- Generate new emailsCONTENT_GENERATOR_EMAIL_REPLY- Generate email replies
Endpoint
Code Examples
- cURL
- JavaScript
- Python
New Email
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "CONTENT_GENERATOR_EMAIL",
"model": "gpt-4o",
"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."
}
}'
Email Reply
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "CONTENT_GENERATOR_EMAIL_REPLY",
"model": "gpt-4o",
"conversationId": "CONTENT_GENERATOR_EMAIL_REPLY",
"promptObject": {
"tone": "friendly",
"language": "English",
"prompt": "Original email: Hi Sarah, I hope this email finds you well. I wanted to reach out regarding the marketing campaign proposal we discussed last month. Our team has been working on some exciting new concepts that I think would be perfect for your brand. Would you have time for a call this week to discuss the details? Looking forward to hearing from you. Best regards, Mike"
}
}'
// 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: 'gpt-4o',
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: 'gpt-4o',
conversationId: 'CONTENT_GENERATOR_EMAIL_REPLY',
promptObject: {
tone: 'helpful',
language: 'English',
prompt: 'Customer inquiry about product compatibility issues'
}
})
});
return await response.json();
};
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": "gpt-4o",
"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": "gpt-4o",
"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
Loading interactive playground...
Use Cases
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
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.