Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gongyijie85/dsh-ecc --skill mailtrap-email-integrationgit clone --depth 1 https://github.com/gongyijie85/dsh-eccWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gongyijie85/dsh-ecc/mailtrap-email-integration)<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/mailtrap-email-integration"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/mailtrap-email-integration/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/mailtrap-email-integration"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/mailtrap-email-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00778 |
| Opus 5.5 | $0.00022 | $0.00311 |
| Sonnet 5.5 | $0.00011 | $0.00156 |
| Haiku 4.5 | $0.00005 | $0.00078 |
Grade B, and why
mailtrap-email-integration scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
const response = await fetch("https://send.api.mailtrap.io/api/send", { method: "POST", Copies of this mod
1 near-identical copy found in the catalogue:
- mailtrap-email-integration — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mailtrap Email Integration
Patterns for adding transactional email sending to an application using Mailtrap's Email API and Sandbox, covering authentication, environment separation, and common delivery pitfalls.
When to Activate
- Implementing a "send email" feature (signup confirmation, password reset, notifications, receipts)
- Debugging why emails aren't arriving in dev/staging
- Setting up a project's first email-sending integration
- Reviewing code that calls an email API directly without sandbox separation
Core Concepts
Sandbox vs. Production separation. Mailtrap provides a Sandbox API that captures emails without delivering them, used for dev/staging so test emails never reach real inboxes. Production sending uses a separate, verified-domain endpoint. Never point a dev environment at the production sending endpoint.
Authentication. Requests use a Bearer token in the Authorization header. Tokens are scoped per project; sandbox and production typically use different tokens.
Domain verification. Production sending requires verifying a sending domain via DNS records (SPF, DKIM, DMARC) before Mailtrap will deliver to real recipients. Skipping this causes silent delivery failures or spam-folder placement.
Code Examples
// Sending via Mailtrap's Email API (production)
async function sendEmail(to: string, subject: string, html: string) {
const response = await fetch("https://send.api.mailtrap.io/api/send", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.MAILTRAP_API_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
from: { email: "[email protected]", name: "Your App" },
to: [{ email: to }],
subject,
html,
}),
});
if (!response.ok) {
throw new Error(`Email send failed: ${response.status}`);
}
return response.json();
}
// Same call, routed to Sandbox in non-production environments
const MAILTRAP_ENDPOINT = process.env.NODE_ENV === "production"
? "https://send.api.mailtrap.io/api/send"
: `https://sandbox.api.mailtrap.io/api/send/${process.env.MAILTRAP_INBOX_ID}`;
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 78 lines · 54 tokens per session scan B 917fe931b1ce
mailtrap-email-integration is a skill published in the GitHub repository gongyijie85/dsh-ecc (12 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 778 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
mailtrap-email-integration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mailtrap-email-integrationgongyijie85/dsh-ecc | Skill | 12 | 1mo ago | MIT | B | 54 | Claude Code, Codex |
| manage-taskboardshengsheng90/DSH-taskboard | Skill | 326 | 5d ago | Apache-2.0 | A | 88 | Codex |
| mcp-integrationSivan757/dsh-agent-plugins-market | Skill | 21 | 2d ago | MIT | B | 95 | Claude Code, Codex |
| hook-developmentSivan757/dsh-agent-plugins-market | Skill | 21 | 2d ago | MIT | A | 113 | Claude Code |
| agent-developmentSivan757/dsh-agent-plugins-market | Skill | 21 | 2d ago | MIT | A | 77 | Claude Code, Codex |
| promentorLyn-77/ProMentor | Skill | 81 | 1mo ago | MIT | A | 85 | Codex |
| playlet-wechat-feedredfox-data/redfox-community-dsh | Skill | 9 | 3d ago | MIT | A | 269 | Claude Code, Codex |