HomeBlogs

Email Tips

Animation in Email: GIFs, Examples & Best Practices

Animation in email works best with lightweight GIFs and static fallbacks. Explore 6 animated examples, HTML code, email client support and best practices.

Md. Yaikub Hossain Razon

Md. Yaikub Hossain Razon

December 20267 mins to read

Animation in email uses moving visual elements to highlight an offer, show a product in action or make a message more engaging. An animated GIF is usually the most practical starting point because it works in many popular inboxes without JavaScript. Some email clients display only the first frame, so the message and call to action must still make sense without motion.

This guide explains the main animation methods, shows six original animated email examples, compares email client support and provides HTML you can adapt. You will also learn how to keep GIFs small, accessible and easy to add to a MailEditor template.

What Is Animation in Email?

An animated email contains an element that changes over time, such as a product image rotating through color options, a short illustration of a feature or a decorative holiday greeting. The rest of the message can remain ordinary HTML. Animation is not the same as interactivity: a GIF plays a predetermined sequence and cannot respond to a click by itself.

Use motion when it communicates something more efficiently than a static image. For example, showing the steps in a product workflow can be more informative than adding a moving decoration to an otherwise clear offer. It is not necessary to animate every campaign, and animation alone does not guarantee higher clicks or sales.

Types of Email Animation

Method Best use Limitation
Animated GIF Banners, product variations, short demonstrations Some inboxes show a static frame; limited colors
CSS animation Progressive enhancement for compatible inboxes Many clients ignore animation properties
Animated countdown image Time-sensitive offer with an actual deadline Requires a service that calculates time; caching can affect accuracy
Video thumbnail or GIF teaser Linking to a longer demonstration Not actual in-email video playback

A GIF stores multiple image frames in a single file. CSS animation changes the appearance of HTML elements when the client supports the required CSS. For broad compatibility, start with a static layout and use motion as an enhancement. Avoid JavaScript in marketing email; it is normally stripped or blocked.

A fixed GIF countdown cannot know when a recipient opens a message. For a real deadline, use a suitable dynamic timer and include the deadline in text. See our HTML email countdown timer guide for that separate workflow.

6 Animated Email Examples

These are original illustrative GIFs, not screenshots of real campaigns or measured results. The opening frames establish the main theme, but some offers and visual details appear later. In a real email, put essential information in the first frame and live HTML. Button-like elements in the graphics are mockups; add a separate working HTML link or button.

1. Animated Promotional Banner

Promotional email banner with a 50% offer and a collection preview appearing beside the headline.
Original animated email example: animated promotional banner.

How it works: The promotional headline stays visible while a discount badge and collection preview appear in sequence.

Best for: Retail promotions and software subscription offers.

Design tip: Keep the real discount, eligibility and deadline in live text; do not use motion to imply an unverified deadline.

2. Product Showcase Animation

Illustrative software product showcase with three feature cards appearing in sequence.
Original animated email example: product showcase animation.

How it works: Feature cards appear one by one and highlight different product benefits.

Best for: Software product showcases and feature introductions.

Design tip: Keep the feature names and verified benefits in live text so the message is understandable without animation.

3. New Collection Reveal

New collection reveal showing a fabric cover lifting to reveal a bag, shoe and sunglasses.
Original animated email example: new collection reveal.

How it works: A fabric cover lifts to reveal a collection of products while the main headline remains visible.

Best for: New arrivals, seasonal collections and product launches.

Design tip: Keep the collection name visible from the start and link to the collection page.

4. Animated CTA Cue

Illustrative CTA cue with a highlighted button, pointer and small accent marks.
Original animated email example: animated cta cue.

How it works: A brief glow and pointer draw attention to the illustrated CTA.

Best for: Onboarding and plan selection messages.

Design tip: Keep the real CTA static and clickable; the moving cue should not be the only way to find it.

5. Seasonal Greeting Animation

Happy Holidays greeting with festive gifts appearing in a winter scene.
Original animated email example: seasonal greeting animation.

How it works: Festive accents and gifts appear around an already visible holiday greeting.

Best for: Holiday greetings and customer appreciation.

Design tip: Use restrained decorative movement and keep the greeting in readable HTML.

6. Product Feature Demonstration

Illustrative software email editor mockup highlighting three feature cards.
Original animated email example: product feature demonstration.

How it works: The animation highlights the feature cards in sequence alongside an illustrative editor mockup.

Best for: SaaS onboarding, tutorials and feature announcements.

Design tip: Explain the verified features in text or link to instructions; do not rely on a rapidly changing frame.

Email Animation Compatibility

GIF playback is widely supported, but support for the GIF file format is not the same as guaranteed animation playback. Classic Outlook versions, recipient settings and image blocking can affect what appears. Use the following as a planning guide, not a promise for every build or account.

Email client Animated GIF behavior CSS animation
Gmail (web and apps) Generally plays Not a reliable baseline
Apple Mail (macOS and iOS) Generally plays Supported in many tested versions
Yahoo Mail Generally plays Not a reliable baseline
Outlook.com and Outlook mobile Generally plays Limited; do not depend on it
Outlook for Mac Generally plays Varies by version
Classic Outlook for Windows 2007–2016 Typically first frame only Not supported as a baseline
Newer Outlook / Microsoft 365 Playback depends on build, account and settings Test the exact client

Sources: Can I Email GIF support, CSS animation support and Microsoft Outlook animation guidance. Compatibility references reviewed December 2026; underlying tests may be older. Test your own audience’s clients before sending.

How to Add a GIF to an HTML Email

Host the optimized GIF at a public HTTPS URL that returns the actual image file, not a sharing page requiring authentication. Use an ordinary image element, descriptive alt text and responsive width. The following fictional retail campaign combines an animated 20% offer banner with live text and a separate CTA. Replace the example URLs, offer details and brand name before sending.

<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="max-width:600px;margin:0 auto;background:#ffffff;font-family:Arial,sans-serif;">
<tr>
<td align="center" style="padding:24px 18px;color:#402331;font-size:13px;font-weight:bold;letter-spacing:3px;">THE EDIT</td>
</tr>
<tr>
<td><img src="https://example.com/retail-offer-animation.gif" alt="Save 20% on selected everyday essentials" width="600" style="display:block;width:100%;max-width:600px;height:auto;border:0;">
</td>
</tr>
<tr>
<td align="center" style="padding:28px 24px 32px;color:#402331;">
<h2 style="font-family:Georgia,serif;font-size:27px;line-height:1.2;font-weight:normal;margin:0 0 12px;">Good things, thoughtfully chosen.</h2>
<p style="font-size:16px;line-height:1.6;margin:0 0 22px;color:#594b49;">Enjoy 20% off selected essentials for your everyday routine.</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td bgcolor="#402331" style="border-radius:3px;">
<a href="https://example.com/offer" style="display:inline-block;padding:14px 26px;color:#ffffff;text-decoration:none;font-weight:bold;font-size:14px;">Shop the offer</a>
</td>
</tr>
</table>
<p style="font-size:12px;line-height:1.5;color:#71625d;margin:18px 0 0;">Selected items only. Terms apply.</p>
</td>
</tr>
</table>

Live Preview: GIF in an HTML Email

THE EDIT
Image placeholder: upload retail-offer-animation.gif here.
Good things, thoughtfully chosen.

Enjoy 20% off selected essentials for your everyday routine.

Shop the offer

Selected items only. Terms apply.

Illustrative retail campaign. The CTA is a visual preview; the real email should link to the offer.

The first frame and alt text are useful fallbacks, but neither replaces the visible HTML offer and link. If the image is blocked, readers should still understand what to do. For a button with a background, use your email builder’s button block or an Outlook-tested button pattern.

Can You Use CSS Animation in HTML Email?

Yes, as progressive enhancement. The following fictional collection announcement gently fades in its headline while keeping the text visible from the start. Place the CSS in the email head if your sending platform preserves it. Clients that ignore the animation still display the static design; not every inbox honors reduced-motion preferences.

<style>
@keyframes gentleFade { from {opacity:0.7;} to {opacity:1;} }
.motion-hint {animation:gentleFade 1s ease-out 1;}
@media (prefers-reduced-motion:reduce) {.motion-hint {animation:none !important;}}
</style>

<!-- Inside the email body -->
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="max-width:600px;margin:0 auto;background:#ffffff;font-family:Arial,sans-serif;">
<tr>
<td align="center" style="padding:23px 18px;color:#162b52;font-size:13px;font-weight:bold;letter-spacing:3px;">FORM &amp; FIELD</td>
</tr>
<tr>
<td align="center" bgcolor="#e9edf8" style="padding:45px 24px 42px;color:#162b52;">
<p style="margin:0 0 12px;font-size:12px;font-weight:bold;letter-spacing:2px;">THE LATEST COLLECTION</p>
<h2 class="motion-hint" style="margin:0;font-family:Georgia,serif;font-weight:normal;font-size:42px;line-height:1.15;color:#162b52;">New arrivals</h2>
<p style="margin:15px 0 0;font-size:16px;line-height:1.5;color:#35496b;">Fresh perspective. Timeless design.</p>
</td>
</tr>
<tr>
<td align="center" style="padding:28px 24px 32px;color:#162b52;">
<h2 style="font-size:23px;line-height:1.3;margin:0 0 12px;font-weight:normal;">Make room for something new.</h2>
<p style="font-size:16px;line-height:1.6;color:#49566c;margin:0 0 22px;">Discover a collection of carefully selected pieces designed to fit your everyday life.</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td bgcolor="#162b52" style="border-radius:3px;">
<a href="https://example.com/collection" style="display:inline-block;padding:14px 26px;color:#ffffff;text-decoration:none;font-weight:bold;font-size:14px;">Explore the collection</a>
</td>
</tr>
</table>
</td>
</tr>
</table>

Live Preview: CSS Animation in HTML Email

FORM & FIELD

THE LATEST COLLECTION

New arrivals

Fresh perspective. Timeless design.

Make room for something new.

Discover a collection of carefully selected pieces designed to fit your everyday life.

Explore the collection

The headline fades in once in compatible browsers. If animation is unavailable, the text remains visible. The CTA is a visual preview.

This CSS example is illustrative and has not been tested in live inboxes. It is intentionally nonessential. For messages that must work in Gmail or classic Outlook, prefer a static element or a GIF with a meaningful first frame.

Best GIF Size for Email

Aim for an animated GIF under 1 MB when practical, especially for mobile recipients. This is a design target, not a universal inbox limit. A 300 KB file often loads faster than a 2 MB animation on a slow connection. The appropriate dimensions depend on the actual display width, not on a fixed requirement for every email.

GIF use Starting dimensions Target file size
Full-width banner 600 × 200–350 px Under 1 MB
Product card 300 × 300 px Under 500 KB
Small motion cue 120–200 px wide Under 150 KB
Short feature demo 480–600 px wide Under 1 MB

These are suggested production budgets, not measured client limits. A higher-resolution source can look sharper on high-density screens, but test the additional weight. See our email banner size guide for layout dimensions.

How to Optimize an Animated GIF for Email

  1. Resize to the actual email display width before export.
  2. Crop unnecessary space and animate only the part that needs movement.
  3. Reduce the number of frames and remove redundant frames.
  4. Reduce the color palette while checking text contrast and gradients.
  5. Keep the sequence short and avoid endless loops.
  6. Compare the exported file size and visual quality, then test the hosted image.

These six demo graphics use a 600 × 480 px canvas. A shorter banner may be sufficient for an actual email, and photo-heavy animation can be significantly larger even at the same dimensions. Litmus GIF optimization guidance provides additional compression techniques.

How to Create Animated Emails With MailEditor

MailEditor provides image, HTML and button blocks and supports HTML export. Prepare the animated GIF separately, then add it to your email design. The workflow below does not assume that MailEditor has a native GIF animation generator or that every image transformation preserves multiple frames.

  1. Choose a layout: Open an existing email template or build one from reusable email modules.
  2. Prepare the animation: Export a small GIF with a complete first frame. Host the original file on a public HTTPS URL.
  3. Add the visual: Use an Image block if your editor preserves the GIF, or insert the hosted image with an HTML block using the code above.
  4. Add live content: Write the headline, offer and terms in text blocks and insert a real button or link.
  5. Preview and export: Check mobile width, export the HTML and verify that the image URL still serves an animated GIF. Send a test from your actual sending platform.

If a CMS or image editor converts the GIF to a static WebP or JPEG, restore the original animation URL. Follow our HTML email export guide for the next step.

Explore Email Templates

Email Animation Best Practices

  • Give motion a purpose: Use animation to explain a product, reveal a useful detail or guide attention, not merely to fill space.
  • Make frame one complete: Keep the key visual and message available immediately.
  • Keep the animation brief: Aim for a few seconds of motion that stops; avoid rapid flashing or endless loops.
  • Respect accessibility: Keep key information in text, provide informative alt text, avoid flashing and offer a static alternative where practical.
  • Test before sending: Check the actual delivered message with images enabled and disabled, on mobile and in Outlook.
  • Measure the outcome: Compare clicks, conversions and unsubscribes with a comparable static design. Avoid attributing a performance change to animation without a controlled test.

As a simple accessibility target, avoid flashing altogether and stop automatic motion within five seconds. Email clients do not consistently expose pause controls or reduced-motion settings for GIFs. See Mailchimp email accessibility guidance for additional recommendations.

Common Email Animation Mistakes

Mistake Better approach
Blank or incomplete first frame Start with the complete offer or product image.
Uploading an oversized video as a GIF Use a short, compressed sequence or link to the video.
Animated image as the only CTA Provide a real HTML button or link.
Assuming CSS works everywhere Use motion as an optional enhancement.
Image URL requires login or expires Use a stable public URL and test it.
GIF becomes static after export Inspect the exported source and original hosted image.

If the image is not showing at all, check the URL, permissions, format and recipient image settings using our email image troubleshooting guide.

Final Answer

The best way to add animation in email is to use a lightweight animated GIF with a meaningful first frame, live HTML text and a real CTA. CSS animation is useful for optional effects in compatible clients, but should never carry essential information. Choose a motion effect that supports your campaign goal, optimize the file, and test the final delivered email before sending.

Frequently Asked Questions

Do animated GIFs work in email?
Yes, many modern email clients display animated GIFs. Some classic Outlook versions and recipient settings show a static first frame instead.
Can I use animation in Gmail?
Gmail generally displays animated GIFs when images are enabled. CSS keyframe animation is not a dependable option for Gmail.
Why is my GIF not moving in Outlook?
The Outlook build, account type or animation settings may prevent playback. Confirm that the hosted file is genuinely animated and make the first frame meaningful.
What is the best GIF size for email?
Aim for under 1 MB when practical and match the dimensions to the layout. A 600 px-wide banner is a useful starting point, not a requirement.
How do I insert an animated GIF into HTML email?
Host the GIF at a public HTTPS URL, insert it using an img element, set alt text and responsive width, and include essential copy and a CTA in HTML.
Can I use CSS animation instead of GIFs?
Yes, but only as optional enhancement. CSS support is limited across inboxes, so keep a readable static layout.
Can I use a GIF as a countdown timer?
A fixed GIF cannot calculate the actual time remaining. Use a dynamic countdown service for a real deadline, and state the expiry date in text.
Do animated emails improve click rates?
Not automatically. Motion can help explain a benefit or draw attention, but results depend on audience, design and offer. Compare against a static version using a controlled test.
Can I add a GIF to MailEditor?
Use a hosted GIF through the image or HTML block and check that the exported HTML retains the original animated URL. Native animation creation is not required.

newsletter

Field notes on email design.

One thoughtful issue a month. Unsubscribe anytime.

Share

Popular Blogs

Not enough? Order a custom template

Can't find the perfect template? Our experts will design a custom email template tailored to your brand. Responsive, unique, and fully tested for compatibility.

Order Now
100%Client-owned HTML
48hTypical turnaround

Tested with Email On Acid against 80+ Major Inboxes

GmailOutlookApple MailYahooDark mode