Keplers Mail Service
AI Templates

AI Templates

Generate professional email templates using AI-powered template generation with Gemini

AI Templates

Generate professional email templates instantly using our AI-powered template engine. Built with Google Gemini, our AI understands your requirements and creates custom email templates with proper structure, content, and styling.

Overview

The AI Templates feature allows you to describe your email requirements in natural language and receive professionally crafted email templates. The system includes intelligent guardrails to ensure content quality and appropriateness.

AI Templates are available on all paid plans. Free plans include basic template access with limited AI generations.

How It Works

  1. Describe Your Email: Write a natural language prompt describing your email needs
  2. AI Generation: Our Gemini-powered engine creates a custom template
  3. Real-time Validation: Built-in guardrails ensure content quality and safety
  4. Template Creation: Generated template is saved to your workspace for editing
  5. Visual Editor: Fine-tune the template using our drag-and-drop editor

Template Categories

Our AI can generate templates for various categories:

  • Marketing: Newsletters, promotional emails, product announcements
  • Transactional: Order confirmations, receipts, shipping notifications
  • Onboarding: Welcome emails, account setup, getting started guides
  • Security: Password resets, 2FA codes, security alerts
  • Events: Invitations, reminders, follow-ups
  • Support: Help responses, troubleshooting guides, FAQs
  • E-commerce: Product updates, cart abandonment, reviews

Prompt Guidelines

Effective Prompts

Write clear, detailed prompts that include:

  • Purpose: What type of email you need
  • Audience: Who will receive the email
  • Content: Key information to include
  • Tone: Professional, friendly, urgent, etc.
  • Call-to-action: What action you want recipients to take

Example Prompts

Welcome Email:

Create a warm welcome email for new SaaS customers who just signed up for our project management platform. Include onboarding steps, dashboard access link, and support contact information.

Order Confirmation:

Design an e-commerce order confirmation email with order summary, shipping details, tracking information, estimated delivery date, and customer support contact.

Newsletter:

Generate a professional monthly newsletter template for a tech company with sections for product updates, customer success stories, industry news, and social media links.

Password Reset:

Design a secure password reset email with clear instructions, reset button, security warnings, and expiration time. Include company branding and support contact.

Content Guardrails

Our AI template system includes multiple security layers:

Validation Rules

  • Length Limits: 10-2000 characters for optimal processing
  • Email Context: Must relate to email templates and communications
  • Business Focus: Should include professional or business context
  • Content Safety: Blocks inappropriate or harmful content

Blocked Content

The system automatically rejects prompts containing:

  • Malicious intent (phishing, malware, exploits)
  • Illegal activities or content
  • Spam or fraudulent schemes
  • Security exploits or hacking attempts
  • Inappropriate or offensive material

Real-time Feedback

As you type your prompt, the system provides:

  • Validation Confirmation: Green indicator for valid prompts
  • ⚠️ Warning Messages: Suggestions to improve your prompt
  • Error Alerts: Blocked content with specific reasons

Usage Limits

AI template generation is subject to billing plan limits:

PlanAI Templates/MonthRate Limit
Free3 templates5 requests/hour
Starter25 templates10 requests/hour
Pro100 templates25 requests/hour
EnterpriseUnlimited50 requests/hour

Rate limits apply to prevent abuse. If you reach your limit, wait before making additional requests or upgrade your plan for higher limits.

API Integration

Generate Template Endpoint

POST https://api.keplars.com/api/v1/templates/generate
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "prompt": "Create a welcome email for new users with onboarding steps",
  "category": "onboarding",
  "workspace_id": "your-workspace-id"
}

Response Format

{
  "success": true,
  "data": {
    "id": "template-uuid",
    "name": "Welcome to Our Platform",
    "description": "User onboarding welcome email",
    "category": "onboarding",
    "content": {
      "blocks": [...],
      "variables": {...}
    },
    "is_ai_generated": true,
    "created_at": "2024-01-15T10:30:00Z"
  },
  "message": "Template generated successfully"
}

Best Practices

Writing Effective Prompts

  1. Be Specific: Include details about content, structure, and purpose
  2. Mention Context: Specify your industry, audience, and use case
  3. Include Elements: List specific sections or components needed
  4. Set Tone: Describe the desired communication style
  5. Add Constraints: Mention any specific requirements or limitations

Template Optimization

  1. Review Generated Content: Always review AI-generated templates
  2. Customize Variables: Update placeholder content with your data
  3. Test Rendering: Preview templates before sending
  4. A/B Testing: Create variations for performance optimization
  5. Monitor Performance: Track engagement and deliverability metrics

Template Management

Accessing AI Templates

  1. Navigate to TemplatesAI Templates in your dashboard
  2. Generated templates are marked with an AI badge
  3. Filter by category, creation date, or usage frequency
  4. Edit templates using the visual editor

Template Operations

  • Edit: Modify content, styling, and variables
  • Duplicate: Create copies for variations
  • Archive: Remove from active use without deletion
  • Export: Download for external use
  • Analytics: View usage and performance metrics

Troubleshooting

Common Issues

"Prompt too short" error:

  • Ensure your prompt is at least 10 characters
  • Add more detail about your email requirements

"Missing email context" warning:

  • Include keywords like "email", "template", "message"
  • Specify the type of email communication needed

"Content blocked" error:

  • Review your prompt for inappropriate content
  • Ensure business-appropriate language and intent

Rate limit reached:

  • Wait before making additional requests
  • Consider upgrading your plan for higher limits

Getting Help

  • Documentation: Check our comprehensive guides
  • Support: Contact our team for assistance
  • Community: Join our developer community for tips
  • Examples: Browse our prompt library for inspiration

Ready to create your first AI template? Visit your dashboard and navigate to the AI Templates section to get started!

On this page