Skip to content
Back to skills

Email Sender

ASecurity

使用SMTP发送带附件的邮件,支持HTML模板、多收件人和文件附件。基于nodemailer。

  • 85 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 7, 2026
toolspythonbashnodegit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add AIDotNet/MoYuCode --skill email-sender --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Email Sender?

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

Security grade badge for Email Sender
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-email-sender/badge)](https://www.skillsdirectory.com/skills/aidotnet-email-sender)

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: email-sender
description: 使用SMTP发送带附件的邮件,支持HTML模板、多收件人和文件附件。基于nodemailer。
metadata:
  short-description: 通过SMTP发送邮件
source:
  repository: https://github.com/nodemailer/nodemailer
  license: MIT
---

# Email Sender Tool

## Description
Send emails with HTML content, attachments, and multiple recipients via SMTP.

## Trigger
- `/send-email` command
- User requests to send email
- User needs email notification

## Usage

```bash
# Send simple email
python scripts/send_email.py --to "user@example.com" --subject "Hello" --body "Message content"

# Send with attachment
python scripts/send_email.py --to "user@example.com" --subject "Report" --body "See attached" --attachment "report.pdf"

# Send HTML email
python scripts/send_email.py --to "user@example.com" --subject "Newsletter" --html "template.html"
```

## Environment Variables

```env
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=Your Name <your-email@gmail.com>
```

## Tags
`email`, `smtp`, `notification`, `automation`

## Compatibility
- Codex: ✅
- Claude Code: ✅

Files in this skill

  • SKILL.md1.1 KB
  • scripts/send_email.py5.8 KB

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…