sinch-email-mailgun-inspect

Inspect HTML email content for accessibility, links, and images via the Mailgun Inspect API.

6|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/sinch/sinch-plugins --skill sinch-email-mailgun-inspect-sinch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sinch-email-mailgun-inspect
Source: https://github.com/sinch/sinch-plugins/tree/main/plugins/sinch-antigravity-plugin/skills/sinch-email-mailgun-inspect
Command: npx skills add https://github.com/sinch/sinch-plugins --skill sinch-email-mailgun-inspect-sinch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Before sending an email campaign, broken links, missing alt text, and accessibility issues can hurt deliverability and user experience. This Skill submits HTML email content to the Mailgun Inspect API for automated pre-send quality checks, so problems are caught before messages reach recipients. ## Core Features & Use Cases - Accessibility Testing: Submit HTML to the /v1/inspect/accessibility endpoint to detect accessibility issues in email markup. - Link and Image Validation: Run link validation and image validation inspections by selecting the inspection type. - Use Case: A marketer pastes a campaign email's HTML and runs an accessibility inspection, receiving a report of issues to fix before sending through Mailgun. ## Quick Start Ask the assistant to inspect this HTML email content for accessibility issues using Mailgun, providing your HTML inline or as a file path.

Frequently Asked Questions about sinch-email-mailgun-inspect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test email HTML for accessibility issues before sending?

Submit your HTML content to the Mailgun Inspect API accessibility endpoint with your API key. Provide the HTML inline or as a file path, and the API returns a report of accessibility issues found in the markup.

How to validate links in an email campaign with Mailgun?

Use the Mailgun Inspect API with the links inspection type. Pass your email HTML to the /v1/inspect/links endpoint using Basic Auth with your API key, and it returns the validity of links in the content.

What credentials does the Mailgun Inspect API require?

The API uses Basic Auth with the literal username api and your Mailgun API key as the password. Set the MAILGUN_API_KEY environment variable; requests go to api.mailgun.net or api.eu.mailgun.net for EU accounts.

Why does Mailgun Inspect return a 401 error?

A 401 response means authentication failed, usually because the API key is missing or incorrect. Verify MAILGUN_API_KEY is set and that you are using the correct regional base URL for your account.

Can I inspect email content from a file instead of pasting HTML?

Yes, the --html argument accepts either inline HTML or a path to a readable file containing the markup. The content is sent as JSON in the request body to the chosen inspect endpoint.