Skip to content
Back to skills

Sinch Email Mailgun Inspect

ASecurity

Inspect email content for quality and accessibility via Mailgun Inspect API

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentstestingapi

Works with

  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add sinch/sinch-plugins --skill sinch-email-mailgun-inspect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sinch Email Mailgun Inspect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sinch Email Mailgun Inspect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sinch-sinch-email-mailgun-inspect/badge)](https://www.skillsdirectory.com/skills/sinch-sinch-email-mailgun-inspect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sinch-email-mailgun-inspect
description: Inspect email content for quality and accessibility via Mailgun Inspect API
---

# Inspect Email (Mailgun Inspect)

Submit HTML or email content to Mailgun Inspect for accessibility testing, link validation, image validation, and pre-send quality checks. Uses Basic Auth (api:API_KEY).

**IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.**

## Input

- `--html` / `-H`: HTML content to inspect (inline or path to file) - required
- `--type` / `-t`: Inspection type: accessibility, links, images - optional, default accessibility

Arguments: $ARGUMENTS

## Instructions

**Execute these steps directly - do not write code or scripts:**

0. If $ARGUMENTS empty: ask for HTML content (paste or file path) and inspection type. Otherwise parse.

1. Validate: --html (non-empty or path to readable file). Get MAILGUN_API_KEY. Base: api.mailgun.net or api.eu.mailgun.net. If missing, report "Mailgun is not configured."

2. POST https://api.mailgun.net/v1/inspect/accessibility (or relevant /v1/inspect/* endpoint) with Basic Auth, Content-Type application/json, body: { "html": "..." }. Adjust endpoint for links/images if --type specified.

3. Display results: accessibility issues, link validity, image issues, etc. "✅ Inspection complete". Handle 401, 400.

4. Handle all errors gracefully.

## Examples

```
/sinch-email-mailgun-inspect --html="<html><body><h1>Hello</h1></body></html>"
/sinch-email-mailgun-inspect --type=accessibility -H "<p>Content</p>"
```

## API Reference

- **Endpoint**: POST /v1/inspect/accessibility (and other inspect endpoints)
- **Auth**: Basic api:API_KEY

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.