# Image variations by email

Email an instruction with reference images and get three different variations back by reply. Reply with feedback to get three more; attach the images to keep working from, since each round generates from the images in the latest email.

**Use cases:** Content, Automation

**Tags:** image generation, reference images, email, memory, loop

[Create this agent](https://seclai.com/agent-examples/create/image_variations_by_email)

## How it starts

Trigger: email received.
Accepts files: Reference images, Other files (ignored).

## What it needs

- **Conversation memory** — Remembers each email thread's requests, feedback and generated images.

## Steps

- Record the email
- Plan three variations
- For each brief
  - For each item: Generate the variation
  - Keep the brief
  - After that, in parallel: Reply with the variations
  - In parallel: Remember the variations
