Skip to main content

Overview

The Email Preview API generates screenshots of your email HTML on real devices and email clients. Preview Gmail, Outlook, Apple Mail, mobile apps, and other supported platforms before send.
Credit Cost: Each email preview request costs 2 credits. Make sure you have sufficient credits before generating previews.

Features

  • Many clients and devices: Gmail, Outlook, Apple Mail, Yahoo, iOS and Android mail apps, and more
  • Real Device Rendering: Screenshots from actual devices, not simulators
  • Mobile & Desktop: Preview on iPhone, Android, iPad, desktop clients
  • Fast Generation: Results typically ready in 60-90 seconds
  • High-Quality Screenshots: Full-resolution images of your email renders

How It Works

  1. Create Preview: Send your email HTML to the preview endpoint
  2. Processing: Your email is rendered on real devices (60-90 seconds)
  3. Get Results: Retrieve high-quality screenshots for each device

Pricing

Credit Usage

Each preview request costs 2 credits, regardless of how many devices you select. The default is 10 common devices; pass a devices array or list IDs from /v1/emails/devices/supported.

Quick Start

1. Create a Preview

Node.js SDK
cURL
Response:

2. Check Preview Status

Response (Processing):
Response (Complete):

3. Get Supported Devices

Request Parameters

Default Devices

When you don’t specify devices, previews are generated on these 10 platforms:
  • Gmail (Chrome Desktop)
  • Gmail (Android App)
  • Outlook 2016 (Windows)
  • Outlook.com (Browser)
  • Apple Mail (macOS)
  • Apple Mail (iPhone 14)
  • Yahoo Mail (Browser)
  • Samsung Email (Android)
  • Outlook iOS App
  • Gmail iOS App

Custom Device Selection

You can specify exactly which devices to use:
List every supported device ID with GET /v1/emails/devices/supported.

Response Statuses

Common Use Cases

Quality Assurance

Test emails before sending campaigns to ensure they render correctly across all platforms.

Client Approval

Generate previews to show clients how emails will look on different devices.

Responsive Testing

Verify that your email design is mobile-friendly and responsive.

Cross-Platform Compatibility

Identify rendering issues specific to certain email clients.

Best Practices

Ensure your email HTML is valid and uses email-safe CSS. Avoid modern CSS features that may not be supported in all email clients.
Focus on the email clients your audience actually uses. Check your email analytics to see which platforms are most common.
Each preview costs 2 credits. Plan your testing workflow to minimize unnecessary preview generations.
Store preview images for reference. You can reuse them for client presentations without regenerating.

Error Handling

Insufficient Credits

Check your credit balance before generating previews. You can view your balance in your account dashboard or via the API.

Invalid HTML

Limitations

  • Processing Time: Previews typically take 60-90 seconds to generate
  • HTML Size: Maximum HTML size is 500KB
  • Rate Limits: Subject to your plan’s rate limits
  • Image Assets: External images must be publicly accessible

Need Help?

API Reference

View complete API documentation

Authentication

Learn about API keys

Events & Webhooks

Get notified when API events occur

Join Discord

Get help from our community
Last modified on September 1, 2026