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 besoeasy/open-skills --skill send-email-programmaticallygit clone --depth 1 https://github.com/besoeasy/open-skillsWrote 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/besoeasy/open-skills/send-email-programmatically)<a href="https://agentmods.dev/skills/besoeasy/open-skills/send-email-programmatically"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/send-email-programmatically/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/besoeasy/open-skills/send-email-programmatically"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/send-email-programmatically.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.00053 | $0.04143 |
| Opus 5.5 | $0.00021 | $0.01657 |
| Sonnet 5.5 | $0.00011 | $0.00829 |
| Haiku 4.5 | $0.00005 | $0.00414 |
Grade C, and why
send-email-programmatically scanned grade C with 3 findings 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 3mo 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 res = await fetch('https://api.sendgrid.com/v3/mail/send', { method: 'POST', Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install -y curl msmtp msmtp-mta Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **curl** — For API-based email sending (pre-installed on most systems) How it starts
The opening of the file, as written. The whole thing — 570 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Send Email Programmatically
Send emails via SMTP, free APIs (Mailgun, SendGrid free tier), or privacy-focused services. Essential for notifications, alerts, automated reports, and user communication.
When to use
- Use case 1: When the user asks to send email notifications or alerts
- Use case 2: When you need to deliver automated reports or summaries
- Use case 3: For error logging and monitoring alerts
- Use case 4: When building user communication workflows (confirmations, updates)
Required tools / APIs
- curl — For API-based email sending (pre-installed on most systems)
- sendmail / msmtp — For SMTP email sending
- Mailgun API — Free tier: 5,000 emails/month (requires API key)
- SendGrid API — Free tier: 100 emails/day (requires API key)
- mail.tm — Temporary email API (no API key required)
Install options:
# Ubuntu/Debian
sudo apt-get install -y curl msmtp msmtp-mta
# macOS (postfix is pre-installed, or use msmtp)
brew install msmtp
# Node.js
npm install nodemailer
Skills
send_email_via_smtp_curl
Send email using SMTP via curl (works with Gmail, Outlook, custom SMTP servers).
# Gmail SMTP example (requires app password)
SMTP_SERVER="smtp.gmail.com:587"
FROM_EMAIL="[email protected]"
TO_EMAIL="[email protected]"
SUBJECT="Test Email"
BODY="This is a test email sent via SMTP."
APP_PASSWORD="your-app-password"
# Send email
curl -v --url "smtp://${SMTP_SERVER}" \
--mail-from "${FROM_EMAIL}" \
--mail-rcpt "${TO_EMAIL}" \
--user "${FROM_EMAIL}:${APP_PASSWORD}" \
--upload-file - <<EOF
From: ${FROM_EMAIL}
To: ${TO_EMAIL}
Subject: ${SUBJECT}
${BODY}
EOF
# Outlook/Office365 SMTP
curl --url "smtp://smtp.office365.com:587" \
--mail-from "[email protected]" \
--mail-rcpt "[email protected]" \
--user "[email protected]:your-password" \
--ssl-reqd \
--upload-file - <<EOF
From: [email protected]
To: [email protected]
Subject: Hello from Outlook
This is an automated email.
EOF
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.
- 3mo ago First seen · 570 lines · 53 tokens per session scan C 8eb97bd4a802
send-email-programmatically is a skill published in the GitHub repository besoeasy/open-skills (132 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 4,143 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 3 findings (sends data to an external url, asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
send-email-programmatically compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| send-email-programmaticallybesoeasy/open-skills | Skill | 132 | 2mo ago | MIT | C | 53 | Claude Code, Codex |
| langbot-eba-adapter-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 73 | Claude Code, Codex |
| langbot-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 136 | Claude Code, Codex |
| stripe-projectse2b-dev/E2B | Skill | 15k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| ax-go-flowax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 43 | Claude Code, Codex |
| ax-event-runtimeax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 36 | Claude Code, Codex |
| app-ai-bindingcloudflare/vibesdk | Skill | 5.5k | 1mo ago | MIT | A | 48 | Claude Code, Codex |