sinch-mailgun-validate
Build with Mailgun Validate API for email verification and list hygiene. Use when validating email addresses, checking email deliverability, running bulk validation jobs, previewing list health, or cleaning an email list.
What this skill does
# Mailgun Validate
## Overview
Mailgun Validate verifies email addresses in real time (single) and in batch (bulk). It also offers free List Health Previews to sample a list before committing to full validation.
## Agent Instructions
Before generating code, gather from the user (skip any item already specified in the prompt or context):
1. **Approach** — SDK or direct API calls (curl/fetch/requests)?
2. **Language** — for SDK: Node.js, Python, Java, PHP, Ruby, or Go. For direct API: any language, or curl.
When the user chooses **SDK**, refer to the relevant SDK reference linked in Links.
When the user chooses **direct API calls**, refer to the API reference linked in Links for request/response schemas.
**Security**: See the Security section below for url fetching policy, handling inbound bulk results, and credential handling.
## Getting Started
### Agent Credentials handling
Store credentials in environment variables — never hardcode API keys in commands or source code:
```bash
export MAILGUN_API_KEY="your-private-api-key"
```
### Authentication
Ensure that authentication headers are properly set when making API calls. Mailgun Validate uses HTTP Basic Auth — username `api`, password your Mailgun Private API key:
```bash
--user "api:$MAILGUN_API_KEY"
```
See [sinch-authentication](../sinch-authentication/SKILL.md) for full auth setup.
| Language | Package | Install |
| -------- | -------------------------- | ---------------------------------------------------------------------- |
| Node.js | `mailgun.js` | `npm install mailgun.js` |
| Java | `com.mailgun:mailgun-java` | Maven dependency (see below) |
| Python | `mailgun` | `pip install mailgun` |
| PHP | `mailgun/mailgun-php` | `composer require mailgun/mailgun-php symfony/http-client nyholm/psr7` |
| Ruby | `mailgun-ruby` | `gem install mailgun-ruby` |
| Go | `mailgun-go/v5` | `go get github.com/mailgun/mailgun-go/v5` |
#### Java Maven dependency
Before generating the Maven dependency, look up the latest release version of `com.mailgun:mailgun-java` on [Maven Central](https://central.sonatype.com/artifact/com.mailgun/mailgun-java) and use that version.
```xml
<dependency>
<groupId>com.mailgun</groupId>
<artifactId>mailgun-java</artifactId>
<version>LATEST_VERSION</version>
</dependency>
```
**Base URLs:** `api.mailgun.net` (US) · `api.eu.mailgun.net` (EU). Always match the region of your Mailgun account.
**Canonical example — validate one address:**
```bash
curl -X GET \
"https://api.mailgun.net/v4/address/[email protected]" \
-s --user "api:$MAILGUN_API_KEY"
```
Response:
```json
{
"address": "[email protected]",
"is_disposable_address": false,
"is_role_address": false,
"reason": [],
"result": "deliverable",
"risk": "low",
"did_you_mean": null,
"engagement": null,
"root_address": null
}
```
For full field descriptions, reason codes, and result types see the [Single Validation docs](https://documentation.mailgun.com/docs/validate/single-valid-ir.md).
## Key Concepts
### Single Address Validation
`GET` or `POST /v4/address/validate` — pass `address` (max 512 chars) and optionally `provider_lookup=false` to skip provider checks.
Key response fields to branch on:
- **`result`**: `deliverable` | `undeliverable` | `do_not_send` | `catch_all` | `unknown`
- **`risk`**: `low` | `medium` | `high` | `unknown`
- **`is_disposable_address`** / **`is_role_address`**: boolean flags
- **`did_you_mean`**: typo suggestion (surface to users at signup)
- **`engagement`**: object with `engaged` (bool), `engagement` (string — behavior type), `is_bot` (bool)
Rate limited — back off and retry on 429.
### List Health Preview
Free, non-destructive sample assessment. Returns deliverability/risk ratios as percentages.
- `POST /v4/address/validate/preview/{list_id}` — create (upload CSV via multipart form-data)
- `GET /v4/address/validate/preview/{list_id}` — check status
- `PUT /v4/address/validate/preview/{list_id}` — promote to full bulk validation
- `DELETE /v4/address/validate/preview/{list_id}` — delete a preview
- `GET /v4/address/validate/preview` — list all preview jobs
- Status values: `preview_processing` → `preview_complete`
- Max 10 parallel preview jobs
- Response is wrapped in a `"preview"` key; `created_at` is a unix timestamp
Full reference: [List Health Preview](https://documentation.mailgun.com/docs/validate/bulk_valid_preview.md)
### Bulk Validation
Full validation of an uploaded CSV/gzip file (max 25 MB).
- `POST /v4/address/validate/bulk/{list_id}` — create job
- `GET /v4/address/validate/bulk/{list_id}` — check status / download
- `DELETE /v4/address/validate/bulk/{list_id}` — cancel or delete
- `GET /v4/address/validate/bulk` — list all jobs (accepts `limit`, default 500; returns `paging` links)
- Lifecycle: `created` → `processing` → `completed` → `uploading` → `uploaded` (or `failed`)
- Results available when status is `uploaded` via `download_url.csv` / `download_url.json`
- Max 5 parallel bulk jobs
- `created_at` is an RFC 2822 date string (e.g., `"Tue, 26 Feb 2019 21:30:03 GMT"`)
Full reference: [Bulk Validation](https://documentation.mailgun.com/docs/validate/bulk-valid-ir.md)
## Workflows
### Deciding which approach to use
1. **Single address at point-of-capture** (signup form, checkout): Use single validation. Check `result` and `risk`. Block or warn on `do_not_send`, `high` risk, or `is_disposable_address`.
2. **Existing list, unknown quality**: Run a free List Health Preview first. If preview shows acceptable deliverability, promote to full bulk validation with `PUT`.
3. **Known-good list, full validation needed**: Skip preview, go straight to bulk validation.
### Bulk validation checklist
- [ ] CSV has header row with `email` or `email_address` column
- [ ] File is UTF-8 or ASCII, under 25 MB, no `@` in list name
- [ ] Fewer than 5 bulk jobs already running
- [ ] POST to create job → poll GET until status is `uploaded` → download results
- [ ] Retrieve download URLs promptly (they expire)
### Interpreting results
`result` and `risk` are independent axes:
- An address can be `deliverable` but `high` risk (e.g., spam trap)
- `catch_all` means the domain accepts everything — treat as medium risk
- Role addresses (`info@`, `support@`) are fine for transactional email but risky for marketing
Engagement data (contract customers get `High Engager`, `Engager`, `Bot`, `Complainer`, `Disengaged`, `No data`; self-service get boolean `engaging`/`is_bot`): [Engagement docs](https://documentation.mailgun.com/docs/validate/validate_engagement.md)
## Gotchas
1. **Preview before bulk** — Previews are free. Always preview first to avoid wasting credits on a bad list.
2. **Result ≠ risk** — Both must be checked. A `deliverable` + `high` risk address should still be suppressed.
3. **Catch-all domains** — `catch_all` means the mailbox may not exist. Treat as medium risk.
4. **Disposable/role addresses** — Block disposables at signup. Avoid marketing sends to role addresses.
5. **Region consistency** — US and EU data do not cross. Match the region of your Mailgun Send account.
6. **`did_you_mean`** — Surface typo suggestions to end users at signup time.
## Security
- **API key handling** — never expose `MAILGUN_API_KEY` (or a dedicated validation key) in client-side code, logs, or committed source. Validation calls accept end-user email addresses — never log full payloads in production. Email lists are PII; protect at rest and in transit. Load from environment variables or a secrets manager. Rotate immediately via the [Mailgun dashboard](htRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.