sinch-mailgun-inspectlisted
Install: claude install-skill sinch/skills
# Mailgun Inspect
## Overview
Mailgun Inspect (by Sinch) is an email pre-send quality control API. Five capabilities:
| Capability | Base Path | Input |
|------------|-----------|-------|
| Accessibility | `/v1/inspect/accessibility` | `html` + `encoded` |
| Link Validation | `/v1/inspect/links` | `links` URL array (or `/html-validate` for HTML) |
| Image Validation | `/v1/inspect/images` | `links` URL array (or `/html-validate` / `/upload`) |
| Code Analysis | `/v1/inspect/analyze` | `html` (no `encoded` field) |
| Email Previews | `/v1/preview/tests` (V1) / `/v2/preview/tests` (V2) | varies |
For full endpoint tables and request schemas, see [references/api-endpoints.md](references/api-endpoints.md).
## Agent Instructions
1. **Determine scope**: If user says "check my email" or "QC" → run all four HTML-based tests in parallel. If they name a specific capability (e.g., "check links") → run only that one.
2. **Choose input method**: Ask if they have raw HTML, a list of URLs, or an image file. Route to the correct endpoint per the capability table.
3. **Always poll**: Test-creation POST endpoints are typically async; poll GET until status is `"Complete"` or `"Completed"`; treat `"Failed"` as terminal error.
4. **Region**: Ask which region (US/EU) if not already known. Must match their Mailgun account.
5. **V2 preview shortcut**: `POST /v2/preview/tests` can trigger accessibility, link validation, image validation, and code analysis in a single call by adding content-chec