- Forked from coreyhaines31/marketingskills v1.1.0 (MIT license) - Removed 4 SaaS-only skills (churn-prevention, paywall-upgrade-cro, onboarding-cro, signup-flow-cro) - Reworked 2 skills (popup-cro → hvac-estimate-popups, revops → hvac-lead-ops) - Adapted all 28 retained skills with HVAC industry context and Compendium integration - Created 10 new HVAC-specific skills: - hvac-content-from-data (flagship DB integration) - hvac-seasonal-campaign (demand cycle marketing) - hvac-review-management (GBP review strategy) - hvac-video-repurpose (long-form → social) - hvac-technical-content (audience-calibrated writing) - hvac-brand-voice (trade authenticity guide) - hvac-contractor-website-audit (discovery & analysis) - hvac-contractor-website-package (marketing package assembly) - hvac-compliance-claims (EPA/rebate/safety claim checking) - hvac-content-qc (fact-check & citation gate) - Renamed product-marketing-context → hvac-marketing-context (global) - Created COMPENDIUM_INTEGRATION.md (shared integration contract) - Added Compendium wrapper tools (search, scrape, classify) - Added compendium capability tags to YAML frontmatter - Updated README, AGENTS.md, CLAUDE.md, VERSIONS.md, marketplace.json - All 38 skills pass validate-skills.sh - Zero dangling references to removed/renamed skills Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
167 lines
2.9 KiB
Markdown
167 lines
2.9 KiB
Markdown
# Resend
|
|
|
|
Developer-friendly transactional email service with modern API.
|
|
|
|
## Capabilities
|
|
|
|
| Integration | Available | Notes |
|
|
|-------------|-----------|-------|
|
|
| API | ✓ | Simple REST API for sending emails |
|
|
| MCP | ✓ | Available via Resend MCP server |
|
|
| CLI | - | Not available |
|
|
| SDK | ✓ | Official SDKs for Node.js, Python, Go, etc. |
|
|
|
|
## Authentication
|
|
|
|
- **Type**: API Key
|
|
- **Header**: `Authorization: Bearer {api_key}`
|
|
- **Get key**: API Keys section in Resend dashboard
|
|
|
|
## Common Agent Operations
|
|
|
|
### Send email
|
|
|
|
```bash
|
|
POST https://api.resend.com/emails
|
|
|
|
{
|
|
"from": "hello@example.com",
|
|
"to": ["user@example.com"],
|
|
"subject": "Welcome!",
|
|
"html": "<h1>Welcome to our app!</h1>"
|
|
}
|
|
```
|
|
|
|
### Send with React template
|
|
|
|
```bash
|
|
POST https://api.resend.com/emails
|
|
|
|
{
|
|
"from": "hello@example.com",
|
|
"to": ["user@example.com"],
|
|
"subject": "Welcome!",
|
|
"react": "WelcomeEmail",
|
|
"props": {
|
|
"name": "John"
|
|
}
|
|
}
|
|
```
|
|
|
|
### Get email status
|
|
|
|
```bash
|
|
GET https://api.resend.com/emails/{email_id}
|
|
```
|
|
|
|
### List emails
|
|
|
|
```bash
|
|
GET https://api.resend.com/emails
|
|
```
|
|
|
|
### Send batch emails
|
|
|
|
```bash
|
|
POST https://api.resend.com/emails/batch
|
|
|
|
[
|
|
{
|
|
"from": "hello@example.com",
|
|
"to": ["user1@example.com"],
|
|
"subject": "Welcome User 1"
|
|
},
|
|
{
|
|
"from": "hello@example.com",
|
|
"to": ["user2@example.com"],
|
|
"subject": "Welcome User 2"
|
|
}
|
|
]
|
|
```
|
|
|
|
### List domains
|
|
|
|
```bash
|
|
GET https://api.resend.com/domains
|
|
```
|
|
|
|
### Verify domain
|
|
|
|
```bash
|
|
POST https://api.resend.com/domains/{domain_id}/verify
|
|
```
|
|
|
|
## Node.js SDK
|
|
|
|
### Install
|
|
|
|
```bash
|
|
npm install resend
|
|
```
|
|
|
|
### Usage
|
|
|
|
```typescript
|
|
import { Resend } from 'resend';
|
|
|
|
const resend = new Resend('re_xxx');
|
|
|
|
await resend.emails.send({
|
|
from: 'hello@example.com',
|
|
to: 'user@example.com',
|
|
subject: 'Welcome!',
|
|
html: '<h1>Welcome!</h1>'
|
|
});
|
|
```
|
|
|
|
### With React Email
|
|
|
|
```typescript
|
|
import { WelcomeEmail } from './emails/welcome';
|
|
|
|
await resend.emails.send({
|
|
from: 'hello@example.com',
|
|
to: 'user@example.com',
|
|
subject: 'Welcome!',
|
|
react: WelcomeEmail({ name: 'John' })
|
|
});
|
|
```
|
|
|
|
## Email Statuses
|
|
|
|
- `queued` - Email queued for delivery
|
|
- `sent` - Email sent to recipient server
|
|
- `delivered` - Email delivered
|
|
- `opened` - Email opened (if tracking enabled)
|
|
- `clicked` - Link clicked (if tracking enabled)
|
|
- `bounced` - Email bounced
|
|
- `complained` - Marked as spam
|
|
|
|
## Webhook Events
|
|
|
|
| Event | When |
|
|
|-------|------|
|
|
| `email.sent` | Email sent |
|
|
| `email.delivered` | Email delivered |
|
|
| `email.opened` | Email opened |
|
|
| `email.clicked` | Link clicked |
|
|
| `email.bounced` | Email bounced |
|
|
| `email.complained` | Spam complaint |
|
|
|
|
## When to Use
|
|
|
|
- Sending transactional emails
|
|
- Welcome emails, password resets
|
|
- Receipt and notification emails
|
|
- Developer-friendly email integration
|
|
- React-based email templates
|
|
|
|
## Rate Limits
|
|
|
|
- Free: 100 emails/day, 3,000/month
|
|
- Pro: 100 emails/second
|
|
- Higher limits on scale plans
|
|
|
|
## Relevant Skills
|
|
|
|
- email-sequence
|