Html Email Debugger

Html Email Debugger

by rocketagro

Test and debug HTML emails across different email clients and devices. Ensure your email campaigns render perfectly everywhere before hitting send. Th...

49 runs
3 users
Try This Actor

Opens on Apify.com

About Html Email Debugger

Test and debug HTML emails across different email clients and devices. Ensure your email campaigns render perfectly everywhere before hitting send. This Actor helps developers, designers, and marketers identify rendering issues, broken links, and missing assets in their email templates.

What does this actor do?

Html Email Debugger is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

HTML Email Debugger Test and debug HTML emails across different email clients and devices. Ensure your email campaigns render perfectly everywhere before hitting send. The HTML Email Debugger Actor helps developers, designers, and marketers identify rendering issues, broken links, and missing assets in their email templates. --- ## 🚀 Features - Multi-Client Testing: Simulate email rendering in Gmail, Outlook, and Apple Mail. - Device Compatibility: Test across desktop and mobile screen resolutions. - Rendering Issue Detection: Identify broken layouts, missing images, and CSS issues. - Screenshots: Capture screenshots of email renderings for visual debugging. - Detailed Reports: Export structured debugging reports with metadata, rendering issues, and screenshot URLs. - Automation Ready: Integrate with your marketing workflows using the Apify platform. --- ## 📥 Input Parameters The HTML Email Debugger accepts the following input parameters: | Parameter | Type | Description | Required | Default Value | | --------------- | -------- | ------------------------------------------------------------- | -------- | ----------------------------------- | | htmlContent | string | Raw HTML of the email you want to test. | ✅ | None | | subjectLine | string | Subject line to include in the test report (optional). | ❌ | Empty string | | sender | string | Sender address to display in the report (optional). | ❌ | Empty string | | targetClients | array | Email clients to simulate (e.g., Gmail, Outlook, Apple Mail). | ❌ | ["Gmail", "Outlook", "AppleMail"] | | devices | array | Device types to simulate (e.g., desktop, mobile). | ❌ | ["desktop"] | ### Example Input json { "htmlContent": "<!DOCTYPE html><html><body><h1>Welcome!</h1></body></html>", "subjectLine": "Welcome Email", "sender": "no-reply@example.com", "targetClients": ["Gmail", "Outlook"], "devices": ["desktop", "mobile"] } --- ## 📤 Output The Actor generates a detailed report containing the following: ### Metadata: - subjectLine: The subject line of the email. - sender: The sender address. - testedAt: The timestamp when the test was performed. ### Screenshots: - client: The email client used for rendering (e.g., Gmail, Outlook). - device: The device type (e.g., desktop, mobile). - url: The URL of the screenshot saved in the Apify Key-Value Store. - issues: Rendering issues detected, including: - brokenLinks: List of links that returned HTTP errors. - missingAssets: List of assets (e.g., images) that failed to load. ### Example Output json { "meta": { "subjectLine": "Welcome Email", "sender": "no-reply@example.com", "testedAt": "2023-10-01T12:00:00Z" }, "screenshots": [ { "client": "Gmail", "device": "desktop", "url": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/Gmail_desktop.png", "issues": { "brokenLinks": ["https://example.com/broken-link"], "missingAssets": ["https://example.com/missing-image.png"] } } ] } --- ## 🛠️ How It Works 1. Input Your Email: Provide the HTML content, subject line, sender details, and target clients/devices. 2. Run the Actor: The Actor renders the email in the specified clients and devices. 3. Debugging: The Actor captures screenshots, detects rendering issues, and generates a detailed report. 4. Export Results: Access the report and screenshots via the Apify platform. --- ## 🌟 Use Cases - Email Campaign QA: Ensure your email campaigns render correctly across all major clients. - Debugging Layout Issues: Identify broken layouts, missing images, or CSS problems. - Automated Testing: Integrate with CI/CD pipelines for automated pre-send email testing. - Support Teams: Empower developers, designers, and marketers with structured email QA. --- ## 📘 API Integration The HTML Email Debugger API provides structured feedback on email rendering issues. You can integrate it with your workflows using JavaScript, Node.js, Python, or curl. ### Example API Call (curl) bash curl -X POST "https://api.apify.com/v2/acts/USERNAME~html-email-debugger/run-sync" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "htmlContent": "<!DOCTYPE html><html><body><h1>Welcome!</h1></body></html>", "targetClients": ["Gmail", "Outlook"], "devices": ["desktop"] }' --- ## 📦 Deployment This Actor is built using the Apify SDK and Playwright. It runs in a Docker container based on the apify/actor-node-playwright-chrome image. ### Development 1. Clone the repository. 2. Install dependencies: npm install. 3. Run locally: apify run. ### Deployment to Apify 1. Push the Actor to Apify: apify push. 2. Configure input parameters in the Apify console. 3. Run the Actor and review the results. --- ## 🔗 Related Links - Apify SDK Documentation - Playwright Documentation - Apify Actor Documentation --- ## 🛠 Plans & Availability - Flat $5/Month Coffee Bill → Run ad-hoc validations, view JSON/CSV reports. Available exclusively on Apify Marketplace. --- ## 📞 Support Need help or a custom feature? 📧 Contact us at support@mcp-validator.com (or via Apify support).

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Html Email Debugger now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
rocketagro
Pricing
Paid
Total Runs
49
Active Users
3
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support