Claude
Skill
Email operations.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-email-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-email
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Email operations.
When To Use
- Transactional email
- Notifications
- Marketing
- SMTP integration
What To Do
1. Send Email
// nodemailer
import nodemailer from 'nodemailer'
const transporter = nodemailer.createTransport({
host: 'smtp.example.com',
port: 587,
secure: false,
auth: {
user: 'user@example.com',
pass: 'password'
}
})
await transporter.sendMail({
from: 'From <from@example.com>',
to: 'to@example.com',
subject: 'Subject',
text: 'Body text',
html: '<p>Body HTML</p>'
})
2. Providers
| Provider | Use |
|---|---|
| SendGrid | Transactional |
| Mailgun | Transactional |
| SES | AWS |
| Postmark | Transactional |
| Resend | Modern |
3. Templates
// Dynamic templates
{
template: 'welcome',
dynamic_template_data: {
name: 'User'
}
}
4. Patterns
| Type | Use |
|---|---|
| Welcome | Account creation |
| Reset | Password reset |
| Receipt | Purchase confirmation |
| Notification | Alerts |
Output
## Email
| Email | Sent | Status |
|-------|------|--------|
| [type] | [YES] | [SENT] |
### Failed
- [list if any]
Role: Email Operator Input: Template, recipient Output: Email sent
Inbox delivery.
Files (vant)
-
SKILL.md 1.4 KB
--- name: email description: Email operations. license: MIT metadata: author: vant version: "1.0" --- # Email > Email operations. --- ## When To Use - Transactional email - Notifications - Marketing - SMTP integration --- ## What To Do ### 1. Send Email ```javascript // nodemailer import nodemailer from 'nodemailer' const transporter = nodemailer.createTransport({ host: 'smtp.example.com', port: 587, secure: false, auth: { user: 'user@example.com', pass: 'password' } }) await transporter.sendMail({ from: 'From <from@example.com>', to: 'to@example.com', subject: 'Subject', text: 'Body text', html: '<p>Body HTML</p>' }) ``` ### 2. Providers | Provider | Use | |-----------|-----| | SendGrid | Transactional | | Mailgun | Transactional | | SES | AWS | | Postmark | Transactional | | Resend | Modern | ### 3. Templates ```javascript // Dynamic templates { template: 'welcome', dynamic_template_data: { name: 'User' } } ``` ### 4. Patterns | Type | Use | |------|-----| | Welcome | Account creation | | Reset | Password reset | | Receipt | Purchase confirmation | | Notification | Alerts | --- ## Output ``` ## Email | Email | Sent | Status | |-------|------|--------| | [type] | [YES] | [SENT] | ### Failed - [list if any] ``` --- **Role**: Email Operator **Input**: Template, recipient **Output**: Email sent > Inbox delivery.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.