📧

# Email Templates

Create and manage email templates

## 🎯 Template Overview

Email templates in MailWizard provide a simple way to create and manage reusable email content. Each template contains a name, content, and design information that can be used across multiple campaigns.

## ✨ Template Features

📝

### Template Content

Rich text content for email body

🎨

### Design Information

Store design specifications and layout details

🔄

### Template Reuse

Use templates across multiple campaigns

⚡

### Status Management

Enable/disable templates as needed

📥

### Import Support

Import existing templates

🗂️

### Simple Management

Basic CRUD operations for templates

## ➕ Creating Email Templates

### Access Template Management

Navigate to Admin Panel → MailWizard → Templates and click "Create New Template"

### Template Information

Template Name

Descriptive name for the template (e.g., "Welcome Email", "Newsletter Template")

Required field - must not be empty
Content

Email content (supports HTML and text)

Large text field for email body content
Design

Design specifications and layout information

Design data and styling information

## ⚙️ Managing Templates

👁️

### View Templates

Browse all templates

- • List all templates
- • View template details
- • Check usage in campaigns

✏️

### Edit Templates

Modify existing templates

- • Update name and content
- • Modify design information
- • Save changes

🔄

### Status Control

Enable/disable templates

- • Toggle template status
- • Control availability
- • Manage visibility

🗑️

### Delete Templates

Remove unused templates

- • Soft delete support
- • Verify no campaign usage
- • Permanent removal option

## 📋 Template Options

### Available Actions

#### Basic Operations

- • Create new templates from scratch
- • Import existing template data
- • Edit template content and design
- • Update template status
- • Delete templates when no longer needed

#### Template Integration

- • Link templates to campaigns
- • View template usage statistics
- • Get template options for campaigns
- • Manage template associations
- • Track template performance

## 📥 Template Import

### Import Existing Templates

Import templates from external sources or backup files:

#### Import Process

- • Access import function via API endpoint
- • Upload template data in JSON format
- • Validate template structure
- • Save imported template to database
- • Confirm successful import

#### Import Requirements

- • Template name must be provided
- • Content field is required
- • Design information must be included
- • Valid JSON format required
- • No duplicate names allowed

## 💡 Best Practices

### Template Creation

- • Use descriptive template names
- • Keep content well-structured and organized
- • Include comprehensive design information
- • Test templates before using in campaigns
- • Create templates for different purposes

### Template Management

- • Regular backup of template data
- • Monitor template usage in campaigns
- • Remove unused templates periodically
- • Update templates based on performance
- • Maintain consistent design standards