---
title: 'AI Email Theme Generator'
url: 'https://info.srv.kowal.co/docs/magento/modules/ai-email-theme-generator'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/ai-email-theme-generator.md'
lang: en
date: '2026-11-30'
description: 'Start with a saved email template, describe the changes and add a logo or design reference. Review the generated version in Magento Admin before applying it.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - email
    - templates
---

# AI Email Theme Generator

**Composer** `kowal/module-ai-email-theme-generator` · **Version** 1.0.21

## Product page

[AI Email Theme Generator — kowal.co](https://kowal.co/ai-email-template-generator-for-magento-2)

## Description

Generate a new version of a saved Magento email template from a change request and design assets. A queue consumer processes the generation job.

## For whom

For teams editing transactional emails who need to review wording, design and order variables before assigning a template to the store.

## Features

- Describe changes inside the template editor.
- Attach a design reference and assets such as a logo or banner.
- Inspect job history and choose whether to apply results automatically.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-ai-email-theme-generator
bin/magento module:enable Kowal_AiEmailThemeGenerator
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Enable the module under **Stores → Configuration → Kowal → AI Email Theme Generator** and configure the API key and model. Turn off **Automatically Apply Result** for the first trial.
2. Run the `kowal.ai_email.generate.consumer` queue consumer through your process manager or start it with `bin/magento queue:consumers:start kowal.ai_email.generate.consumer`.
3. Open a saved test template under **Marketing → Communications → Email Templates**, describe the change and request generation. Follow **Last AI Job** to review the result.

## Requirements / notes

The package requires PHP matching ^8.1 and Kowal Base. Use **Allowed Design File Types** and **Maximum Design File Size** to set the limits for design references.

## FAQ

**Why is a saved generation job still waiting?**

Check its state under **AI Email Generation → Jobs** and verify the queue consumer is running. Saving a request creates work for the consumer.

## Verify the installation

```sh
bin/magento module:status Kowal_AiEmailThemeGenerator
```

Copy a template containing a recognisable Magento variable and request a header colour change. Review the job result, confirm the variable survives and inspect a test email before assigning the template to a sales event.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [AI Product Support](https://info.srv.kowal.co/docs/magento/modules/ai-product-support.md)
- Next: [AI Abandoned Cart](https://info.srv.kowal.co/docs/magento/modules/ai-abandoned-cart.md)
