354,617 AI resources indexedWorking toward the world’s largest AI resource index.

email-sender

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

Installable skillMITBy AIDotNetUpdated Oct 27, 2026
INTENDED FORClaude CodeCodexInstall in a listed agent.

instructions.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: ✅

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.

Resource notes updated 2026-10-27 · Original instructions by AIDotNet