P

How to Write an Email with DALL-E

DALL-E, developed by OpenAI, is primarily an AI image generation tool. Although it does not directly write text emails, it can significantly enrich your email communications by creating custom visuals, tailored illustrations, and striking graphic elements. In this tutorial, you will learn how to leverage DALL-E to design professional images that accompany your emails: banners, concept illustrations, promotional visuals, or header images. By combining DALL-E with your usual email client, you will transform ordinary emails into visually memorable communications that capture recipients' attention and enhance the impact of your message. Discover how to integrate generative AI into your email workflow.

Prerequisites

  • 1.Have an OpenAI account with access to DALL-E (via ChatGPT Plus or the API)
  • 2.Have an email client that supports image insertion (Gmail, Outlook, etc.)
  • 3.Know the subject and purpose of your email before starting
  • 4.Have a general idea of the desired visual tone (professional, creative, promotional)

Steps

1

Define the Purpose of Your Email and the Necessary Visual

Before using DALL-E, clearly identify the type of email you are writing (newsletter, prospecting, invitation, follow-up) and the role the image will play. Determine whether you need a header banner, an explanatory illustration, a product visual, or an infographic. This planning step is essential to craft an effective prompt and get a relevant image on the first try.

Tip: List 2-3 keywords describing the emotion or mood your email should convey (trust, urgency, friendliness) to guide your prompt.
2

Write a Precise Prompt to Generate Your Visual

Access DALL-E via ChatGPT or the OpenAI API and write a descriptive prompt to generate the ideal image. Be specific about the style (photographic, illustration, flat design), colors (consistent with your brand palette), subject, and composition. The more detailed your prompt, the more usable the result will be for your professional email.

Create a professional banner in 600x200 pixels, modern flat design style, with blue and white tones, depicting [YOUR_TOPIC]. The image should be clean, without text, suitable for a professional email header.

Tip: Always specify 'no text' in your prompt if you plan to add text yourself, as DALL-E handles typography poorly.
3

Select and Refine the Generated Image

DALL-E will offer one or more variations. Examine each image considering whether it reinforces your email's message. If the result is not suitable, rephrase your prompt by adding or removing details. You can also request variations of an image you partially like, or use the editing function (inpainting) to modify a specific area of the image.

Generate 3 variations of this image with slightly different moods: one warmer, one more corporate, one more dynamic.

Tip: Download the image at maximum resolution. For an email, a width of 600 to 800 pixels is optimal for proper display on most email clients.
4

Write the Text Content of Your Email

With your visual ready, write the body of your email ensuring the text and image complement each other. Structure your email with a catchy subject line, an introduction that contextualizes the visual, a clear message body, and a precise call to action. If you use ChatGPT alongside DALL-E, you can ask it to write the email text consistent with the generated visual.

Write a professional email of 150 words for [GOAL]. The tone should be [DESIRED_TONE]. The email accompanies an image depicting [DESCRIPTION_OF_DALL-E_VISUAL]. Include a catchy subject line and a clear call to action.

Tip: Ensure your email works without the image as well (some email clients block images by default). The text must stand alone.
5

Assemble and Send Your Enriched Email

Integrate the DALL-E generated image into your email client. In Gmail, use the inline image insertion option. In Outlook, drag and drop the image into the message body. Add alternative text (alt attribute) describing the image for accessibility. Send yourself a test email to check the rendering on desktop and mobile before sending it to your recipients.

Tip: Compress your image to under 200 KB to prevent your email from being filtered as spam or loading too slowly.

Common mistakes to avoid

  • Asking DALL-E to generate readable text in the image — typography rendering is often approximate and unprofessional
  • Using images that are too heavy or too high resolution, which slows down loading and may trigger anti-spam filters
  • Neglecting visual consistency between the generated image and your brand's graphic identity (colors, style, tone)
  • Forgetting to check the email's rendering on mobile, where images may be resized or hidden
  • Relying solely on the visual without writing a standalone and convincing text content

FAQ

Can DALL-E directly write the text of an email?
No, DALL-E is exclusively an image generator. For text writing, use a language model like ChatGPT, Claude, or Gemini. DALL-E comes in as a complement to create the visual elements that enrich your emails.
What image formats does DALL-E generate for use in emails?
DALL-E generates images in PNG format. For email use, it is recommended to convert to JPEG to reduce file size, or keep PNG if you need transparency. Aim for a width of 600 to 800 pixels and a file size under 200 KB.
Can I use images generated by DALL-E for commercial purposes in my emails?
Yes, according to OpenAI's terms of use, images generated by DALL-E belong to you and can be used for commercial purposes, including in marketing or prospecting emails. However, check the terms in effect at the time of your use.
How do I maintain visual consistency across multiple emails?
Create a base prompt that you reuse by only changing the subject. For example, set the style (flat design), colors (hex codes of your brand guidelines), and format. Save your effective prompts to reuse them and maintain a consistent visual identity.

Related tutorials

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More tutorials

How to Write an Email with Gemini

Gemini, Google's artificial intelligence, is a powerful tool for writing professional, commercial, or personal emails in seconds. Whether you need to send a job application, follow up with a client, or reply to a colleague, Gemini helps you structure your message, find the right tone, and save precious time. In this tutorial, you will learn step by step how to use Gemini to compose clear, impactful emails tailored to each situation. You will discover the most effective prompts, best practices for personalizing your messages, and mistakes to avoid to achieve a professional result from the very first try.

How to Write an Email with GitHub Copilot

GitHub Copilot, the AI assistant developed by GitHub and OpenAI, is not limited to code generation. With its integrated chat feature in VS Code, i

How to Write an Email with Midjourney

Midjourney is an AI image generation tool that can transform your emails into visually striking communications. While...

How to Write an Email with Mistral

Mistral is a French artificial intelligence model capable of generating professional, commercial, or personal emails in seconds. Whether you need to write a prospecting email, a customer follow-up, a leave request, or a thank you message, Mistral helps you find the right tone and appropriate structure. In this tutorial, you will learn step by step how to use Mistral to compose clear, impactful emails perfectly tailored to your context. You will discover the most effective prompts, common mistakes to avoid, and tips for customizing each message. By the end of this guide, writing an email will take you just a few minutes.

How to Write an Email with Perplexity

Perplexity AI is not just a smart search engine: it is also a writing assistant that can help you compose professional, personal, or commercial emails in seconds. In this tutorial, you will learn step by step how to use Perplexity to produce effective emails, save time, and improve the quality of your written communications.

How to Write an Email with Sora

Sora, developed by OpenAI, is primarily known as an AI video generation tool. However, its built-in conversational capabilities can also assist users in writing text content, including professional and personal emails. By leveraging the generative AI features of the OpenAI platform associated with Sora, you can structure your messages, adapt the tone to your audience, and save considerable time in your daily communication. This tutorial guides you step by step to make the most of the Sora ecosystem and OpenAI tools to write clear, impactful emails tailored to each situation. Whether you're an entrepreneur, employee, or freelancer, mastering this approach will transform your productivity in written communication.

Get new prompts every week

Join our newsletter.