[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVPDMR3H1PSEYRN915DSXD":3,"skill-same:01M7CVPDMR3H1PSEYRN915DSXD":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":14,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M7CVPDMR3H1PSEYRN915DSXD","email",null,"Email sending integration guidance â€” Resend (native Vercel Marketplace) with React Email templates. Covers API setup, transactional emails, domain verification, and template patterns. Use when sending emails from a Vercel-deployed application.","realsudarshan\u002FSD-skill","realsudarshan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128029723?v=4","01M7CTP2JEKQ9KBJ51NRZ2777Z","Sudarshan Dhakal","01M7CTP2JYR2PRY3BWGA30HX7J",0,"MIT","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-email\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: email\ndescription: Email sending integration guidance â€” Resend (native Vercel Marketplace) with React Email templates. Covers API setup, transactional emails, domain verification, and template patterns. Use when sending emails from a Vercel-deployed application.\nmetadata:\n  priority: 4\n  docs:\n    - \"https:\u002F\u002Fresend.com\u002Fdocs\"\n    - \"https:\u002F\u002Freact.email\u002Fdocs\u002Fintroduction\"\n  sitemap: \"https:\u002F\u002Fresend.com\u002Fsitemap.xml\"\n  pathPatterns:\n    - 'emails\u002F**'\n    - 'src\u002Femails\u002F**'\n    - 'components\u002Femails\u002F**'\n    - 'src\u002Fcomponents\u002Femails\u002F**'\n    - 'app\u002Fapi\u002Fsend\u002F**'\n    - 'src\u002Fapp\u002Fapi\u002Fsend\u002F**'\n    - 'app\u002Fapi\u002Femail\u002F**'\n    - 'src\u002Fapp\u002Fapi\u002Femail\u002F**'\n    - 'app\u002Fapi\u002Femails\u002F**'\n    - 'src\u002Fapp\u002Fapi\u002Femails\u002F**'\n    - 'lib\u002Fresend.*'\n    - 'src\u002Flib\u002Fresend.*'\n    - 'lib\u002Femail.*'\n    - 'src\u002Flib\u002Femail.*'\n    - 'lib\u002Femail*'\n    - 'src\u002Flib\u002Femail*'\n    - '**\u002Femail-template*'\n  bashPatterns:\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*\\bresend\\b'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F'\n    - '\\byarn\\s+add\\s+[^\\n]*@react-email\u002F'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*react-email\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*react-email\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*react-email\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*react-email\\b'\n---\n\n# Email Integration (Resend + React Email)\n\nYou are an expert in sending emails from Vercel-deployed applications â€” covering Resend (native Vercel Marketplace integration), React Email templates, domain verification, and transactional email patterns.\n\n## Vercel Marketplace Setup (Recommended)\n\nResend is a native Vercel Marketplace integration with auto-provisioned API keys and unified billing.\n\n### Install via Marketplace\n\n```bash\n# Install Resend from Vercel Marketplace (auto-provisions env vars)\nvercel integration add resend\n```\n\nAuto-provisioned environment variables:\n- `RESEND_API_KEY` â€” server-side API key for sending emails\n\n### SDK Setup\n\n```bash\n# Install the Resend SDK\nnpm install resend\n\n# Install React Email for building templates\nnpm install react-email @react-email\u002Fcomponents\n```\n\n### Initialize the Client\n\nCurrent Resend SDK version: **6.9.x** (actively maintained, weekly downloads ~1.6M).\n\n```ts\n\u002F\u002F lib\u002Fresend.ts\nimport { Resend } from \"resend\";\n\nexport const resend = new Resend(process.env.RESEND_API_KEY);\n```\n\n## Sending Emails\n\n### Basic API Route\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fsend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\n\nexport async function POST(req: Request) {\n  const { to, subject, html } = await req.json();\n\n  const { data, error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to,\n    subject,\n    html,\n  });\n\n  if (error) {\n    return NextResponse.json({ error }, { status: 400 });\n  }\n\n  return NextResponse.json({ id: data?.id });\n}\n```\n\n### Send with React Email Template\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fsend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\nimport WelcomeEmail from \"@\u002Femails\u002Fwelcome\";\n\nexport async function POST(req: Request) {\n  const { name, email } = await req.json();\n\n  const { data, error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to: email,\n    subject: \"Welcome!\",\n    react: WelcomeEmail({ name }),\n  });\n\n  if (error) {\n    return NextResponse.json({ error }, { status: 400 });\n  }\n\n  return NextResponse.json({ id: data?.id });\n}\n```\n\n## React Email Templates\n\n### Template Structure\n\nOrganize templates in an `emails\u002F` directory at the project root:\n\n```\nemails\u002F\n  welcome.tsx\n  invoice.tsx\n  reset-password.tsx\n```\n\n### Example Template\n\n```tsx\n\u002F\u002F emails\u002Fwelcome.tsx\nimport {\n  Body,\n  Container,\n  Head,\n  Heading,\n  Html,\n  Link,\n  Preview,\n  Text,\n} from \"@react-email\u002Fcomponents\";\n\ninterface WelcomeEmailProps {\n  name: string;\n}\n\nexport default function WelcomeEmail({ name }: WelcomeEmailProps) {\n  return (\n    \u003CHtml>\n      \u003CHead \u002F>\n      \u003CPreview>Welcome to our platform\u003C\u002FPreview>\n      \u003CBody style={{ fontFamily: \"sans-serif\", backgroundColor: \"#f6f9fc\" }}>\n        \u003CContainer style={{ padding: \"40px 20px\", maxWidth: \"560px\" }}>\n          \u003CHeading>Welcome, {name}!\u003C\u002FHeading>\n          \u003CText>\n            Thanks for signing up. Get started by visiting your{\" \"}\n            \u003CLink href=\"https:\u002F\u002Fyourdomain.com\u002Fdashboard\">dashboard\u003C\u002FLink>.\n          \u003C\u002FText>\n        \u003C\u002FContainer>\n      \u003C\u002FBody>\n    \u003C\u002FHtml>\n  );\n}\n```\n\n### Preview Templates Locally\n\n```bash\n# Start the React Email dev server to preview templates\nnpx react-email dev\n```\n\nThis opens a browser preview at `http:\u002F\u002Flocalhost:3000` where you can view and iterate on email templates with hot reload.\n\n### Upload Templates to Resend (React Email 5.0)\n\n```bash\n# Upload templates directly from the CLI\nnpx react-email@latest resend setup\n```\n\nPaste your API key when prompted â€” templates are uploaded and available in the Resend dashboard.\n\n### Dark Mode Support (React Email 5.x)\n\nReact Email 5.x (latest 5.2.9, `@react-email\u002Fcomponents` 1.0.8) supports dark mode with a theming system tested across popular email clients. Now also supports **React 19.2** and **Next.js 16**. Use the `Tailwind` component with Tailwind CSS v4 for email styling:\n\n```tsx\nimport { Tailwind } from \"@react-email\u002Fcomponents\";\n\nexport default function MyEmail() {\n  return (\n    \u003CTailwind>\n      \u003Cdiv className=\"bg-white dark:bg-gray-900 text-black dark:text-white\">\n        \u003Ch1>Hello\u003C\u002Fh1>\n      \u003C\u002Fdiv>\n    \u003C\u002FTailwind>\n  );\n}\n```\n\n**Upgrade note (v4 â†’ v5)**: Replace all `renderAsync` with `render`. The Tailwind component now only supports Tailwind CSS v4.\n\n## Domain Verification\n\nTo send from a custom domain (not `onboarding@resend.dev`), verify your domain in Resend:\n\n1. Go to [Resend Domains](https:\u002F\u002Fresend.com\u002Fdomains)\n2. Add your domain\n3. Add the DNS records (MX, SPF, DKIM) to your domain provider\n4. Wait for verification (usually under 5 minutes)\n\nUntil your domain is verified, use `onboarding@resend.dev` as the `from` address for testing.\n\n## Common Patterns\n\n### Batch Sending\n\n```ts\nconst { data, error } = await resend.batch.send([\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user1@example.com\",\n    subject: \"Update\",\n    html: \"\u003Cp>Content for user 1\u003C\u002Fp>\",\n  },\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user2@example.com\",\n    subject: \"Update\",\n    html: \"\u003Cp>Content for user 2\u003C\u002Fp>\",\n  },\n]);\n```\n\n### Server Action\n\n```ts\n\"use server\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\nimport WelcomeEmail from \"@\u002Femails\u002Fwelcome\";\n\nexport async function sendWelcomeEmail(name: string, email: string) {\n  const { error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to: email,\n    subject: \"Welcome!\",\n    react: WelcomeEmail({ name }),\n  });\n\n  if (error) throw new Error(\"Failed to send email\");\n}\n```\n\n### Broadcast API (February 2026)\n\nSend emails to audiences (mailing lists) managed in Resend:\n\n```ts\n\u002F\u002F Send a broadcast to an audience\nconst { data, error } = await resend.broadcasts.send({\n  audienceId: \"aud_1234\",\n  from: \"updates@yourdomain.com\",\n  subject: \"Monthly Newsletter\",\n  react: NewsletterEmail({ month: \"March\" }),\n});\n\n\u002F\u002F Create and manage broadcasts programmatically\nconst broadcast = await resend.broadcasts.create({\n  audienceId: \"aud_1234\",\n  from: \"updates@yourdomain.com\",\n  subject: \"Product Update\",\n  react: ProductUpdateEmail(),\n});\n\n\u002F\u002F Schedule for later\nawait resend.broadcasts.send({\n  broadcastId: broadcast.data?.id,\n  scheduledAt: \"2026-03-15T09:00:00Z\",\n});\n```\n\n### Idempotency Keys\n\nPrevent duplicate sends on retries by passing an `Idempotency-Key` header:\n\n```ts\nconst { data, error } = await resend.emails.send(\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user@example.com\",\n    subject: \"Order Confirmation\",\n    react: OrderConfirmation({ orderId: \"ord_123\" }),\n  },\n  {\n    headers: {\n      \"Idempotency-Key\": `order-confirmation-ord_123`,\n    },\n  }\n);\n```\n\nResend deduplicates requests with the same idempotency key within a 24-hour window. Use deterministic keys derived from your business logic (e.g., `order-confirmation-${orderId}`).\n\n### Webhook Management API\n\nCreate and manage webhooks programmatically instead of through the dashboard:\n\n```ts\n\u002F\u002F Create a webhook endpoint\nconst { data } = await resend.webhooks.create({\n  url: \"https:\u002F\u002Fyourdomain.com\u002Fapi\u002Fwebhook\u002Fresend\",\n  events: [\"email.delivered\", \"email.bounced\", \"email.complained\", \"email.suppressed\"],\n});\n\n\u002F\u002F List all webhooks\nconst webhooks = await resend.webhooks.list();\n\n\u002F\u002F Delete a webhook\nawait resend.webhooks.remove(webhookId);\n```\n\n### Email Status: \"suppressed\"\n\nResend now tracks a `\"suppressed\"` delivery status for recipients on suppression lists (previous hard bounces or spam complaints). Check for this in webhook events alongside delivered\u002Fbounced\u002Fcomplained.\n\n### Webhook for Delivery Events\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhook\u002Fresend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\n\nexport async function POST(req: Request) {\n  const event = await req.json();\n\n  switch (event.type) {\n    case \"email.delivered\":\n      \u002F\u002F Track successful delivery\n      break;\n    case \"email.bounced\":\n      \u002F\u002F Handle bounce â€” remove from mailing list\n      break;\n    case \"email.complained\":\n      \u002F\u002F Handle spam complaint â€” unsubscribe user\n      break;\n  }\n\n  return NextResponse.json({ received: true });\n}\n```\n\n## Environment Variables\n\n| Variable | Scope | Description |\n|----------|-------|-------------|\n| `RESEND_API_KEY` | Server | Resend API key (starts with `re_`) |\n\n## Cross-References\n\n- **Marketplace install and env var provisioning** â†’ `â¤³ skill: marketplace`\n- **API route patterns** â†’ `â¤³ skill: routing-middleware`\n- **Environment variable management** â†’ `â¤³ skill: env-vars`\n- **Serverless function config** â†’ `â¤³ skill: vercel-functions`\n\n## Official Documentation\n\n- [Resend + Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace\u002Fresend)\n- [Resend Documentation](https:\u002F\u002Fresend.com\u002Fdocs)\n- [Resend Next.js Quickstart](https:\u002F\u002Fresend.com\u002Fdocs\u002Fsend-with-nextjs)\n- [React Email Documentation](https:\u002F\u002Freact.email\u002Fdocs\u002Fintroduction)\n- [React Email Components](https:\u002F\u002Freact.email\u002Fdocs\u002Fcomponents\u002Fhtml)\n","# Email Integration (Resend + React Email)\n\nYou are an expert in sending emails from Vercel-deployed applications â€” covering Resend (native Vercel Marketplace integration), React Email templates, domain verification, and transactional email patterns.\n\n## Vercel Marketplace Setup (Recommended)\n\nResend is a native Vercel Marketplace integration with auto-provisioned API keys and unified billing.\n\n### Install via Marketplace\n\n```bash\n# Install Resend from Vercel Marketplace (auto-provisions env vars)\nvercel integration add resend\n```\n\nAuto-provisioned environment variables:\n- `RESEND_API_KEY` â€” server-side API key for sending emails\n\n### SDK Setup\n\n```bash\n# Install the Resend SDK\nnpm install resend\n\n# Install React Email for building templates\nnpm install react-email @react-email\u002Fcomponents\n```\n\n### Initialize the Client\n\nCurrent Resend SDK version: **6.9.x** (actively maintained, weekly downloads ~1.6M).\n\n```ts\n\u002F\u002F lib\u002Fresend.ts\nimport { Resend } from \"resend\";\n\nexport const resend = new Resend(process.env.RESEND_API_KEY);\n```\n\n## Sending Emails\n\n### Basic API Route\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fsend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\n\nexport async function POST(req: Request) {\n  const { to, subject, html } = await req.json();\n\n  const { data, error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to,\n    subject,\n    html,\n  });\n\n  if (error) {\n    return NextResponse.json({ error }, { status: 400 });\n  }\n\n  return NextResponse.json({ id: data?.id });\n}\n```\n\n### Send with React Email Template\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fsend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\nimport WelcomeEmail from \"@\u002Femails\u002Fwelcome\";\n\nexport async function POST(req: Request) {\n  const { name, email } = await req.json();\n\n  const { data, error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to: email,\n    subject: \"Welcome!\",\n    react: WelcomeEmail({ name }),\n  });\n\n  if (error) {\n    return NextResponse.json({ error }, { status: 400 });\n  }\n\n  return NextResponse.json({ id: data?.id });\n}\n```\n\n## React Email Templates\n\n### Template Structure\n\nOrganize templates in an `emails\u002F` directory at the project root:\n\n```\nemails\u002F\n  welcome.tsx\n  invoice.tsx\n  reset-password.tsx\n```\n\n### Example Template\n\n```tsx\n\u002F\u002F emails\u002Fwelcome.tsx\nimport {\n  Body,\n  Container,\n  Head,\n  Heading,\n  Html,\n  Link,\n  Preview,\n  Text,\n} from \"@react-email\u002Fcomponents\";\n\ninterface WelcomeEmailProps {\n  name: string;\n}\n\nexport default function WelcomeEmail({ name }: WelcomeEmailProps) {\n  return (\n    \u003CHtml>\n      \u003CHead \u002F>\n      \u003CPreview>Welcome to our platform\u003C\u002FPreview>\n      \u003CBody style={{ fontFamily: \"sans-serif\", backgroundColor: \"#f6f9fc\" }}>\n        \u003CContainer style={{ padding: \"40px 20px\", maxWidth: \"560px\" }}>\n          \u003CHeading>Welcome, {name}!\u003C\u002FHeading>\n          \u003CText>\n            Thanks for signing up. Get started by visiting your{\" \"}\n            \u003CLink href=\"https:\u002F\u002Fyourdomain.com\u002Fdashboard\">dashboard\u003C\u002FLink>.\n          \u003C\u002FText>\n        \u003C\u002FContainer>\n      \u003C\u002FBody>\n    \u003C\u002FHtml>\n  );\n}\n```\n\n### Preview Templates Locally\n\n```bash\n# Start the React Email dev server to preview templates\nnpx react-email dev\n```\n\nThis opens a browser preview at `http:\u002F\u002Flocalhost:3000` where you can view and iterate on email templates with hot reload.\n\n### Upload Templates to Resend (React Email 5.0)\n\n```bash\n# Upload templates directly from the CLI\nnpx react-email@latest resend setup\n```\n\nPaste your API key when prompted â€” templates are uploaded and available in the Resend dashboard.\n\n### Dark Mode Support (React Email 5.x)\n\nReact Email 5.x (latest 5.2.9, `@react-email\u002Fcomponents` 1.0.8) supports dark mode with a theming system tested across popular email clients. Now also supports **React 19.2** and **Next.js 16**. Use the `Tailwind` component with Tailwind CSS v4 for email styling:\n\n```tsx\nimport { Tailwind } from \"@react-email\u002Fcomponents\";\n\nexport default function MyEmail() {\n  return (\n    \u003CTailwind>\n      \u003Cdiv className=\"bg-white dark:bg-gray-900 text-black dark:text-white\">\n        \u003Ch1>Hello\u003C\u002Fh1>\n      \u003C\u002Fdiv>\n    \u003C\u002FTailwind>\n  );\n}\n```\n\n**Upgrade note (v4 â†’ v5)**: Replace all `renderAsync` with `render`. The Tailwind component now only supports Tailwind CSS v4.\n\n## Domain Verification\n\nTo send from a custom domain (not `onboarding@resend.dev`), verify your domain in Resend:\n\n1. Go to [Resend Domains](https:\u002F\u002Fresend.com\u002Fdomains)\n2. Add your domain\n3. Add the DNS records (MX, SPF, DKIM) to your domain provider\n4. Wait for verification (usually under 5 minutes)\n\nUntil your domain is verified, use `onboarding@resend.dev` as the `from` address for testing.\n\n## Common Patterns\n\n### Batch Sending\n\n```ts\nconst { data, error } = await resend.batch.send([\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user1@example.com\",\n    subject: \"Update\",\n    html: \"\u003Cp>Content for user 1\u003C\u002Fp>\",\n  },\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user2@example.com\",\n    subject: \"Update\",\n    html: \"\u003Cp>Content for user 2\u003C\u002Fp>\",\n  },\n]);\n```\n\n### Server Action\n\n```ts\n\"use server\";\nimport { resend } from \"@\u002Flib\u002Fresend\";\nimport WelcomeEmail from \"@\u002Femails\u002Fwelcome\";\n\nexport async function sendWelcomeEmail(name: string, email: string) {\n  const { error } = await resend.emails.send({\n    from: \"Your App \u003Chello@yourdomain.com>\",\n    to: email,\n    subject: \"Welcome!\",\n    react: WelcomeEmail({ name }),\n  });\n\n  if (error) throw new Error(\"Failed to send email\");\n}\n```\n\n### Broadcast API (February 2026)\n\nSend emails to audiences (mailing lists) managed in Resend:\n\n```ts\n\u002F\u002F Send a broadcast to an audience\nconst { data, error } = await resend.broadcasts.send({\n  audienceId: \"aud_1234\",\n  from: \"updates@yourdomain.com\",\n  subject: \"Monthly Newsletter\",\n  react: NewsletterEmail({ month: \"March\" }),\n});\n\n\u002F\u002F Create and manage broadcasts programmatically\nconst broadcast = await resend.broadcasts.create({\n  audienceId: \"aud_1234\",\n  from: \"updates@yourdomain.com\",\n  subject: \"Product Update\",\n  react: ProductUpdateEmail(),\n});\n\n\u002F\u002F Schedule for later\nawait resend.broadcasts.send({\n  broadcastId: broadcast.data?.id,\n  scheduledAt: \"2026-03-15T09:00:00Z\",\n});\n```\n\n### Idempotency Keys\n\nPrevent duplicate sends on retries by passing an `Idempotency-Key` header:\n\n```ts\nconst { data, error } = await resend.emails.send(\n  {\n    from: \"hello@yourdomain.com\",\n    to: \"user@example.com\",\n    subject: \"Order Confirmation\",\n    react: OrderConfirmation({ orderId: \"ord_123\" }),\n  },\n  {\n    headers: {\n      \"Idempotency-Key\": `order-confirmation-ord_123`,\n    },\n  }\n);\n```\n\nResend deduplicates requests with the same idempotency key within a 24-hour window. Use deterministic keys derived from your business logic (e.g., `order-confirmation-${orderId}`).\n\n### Webhook Management API\n\nCreate and manage webhooks programmatically instead of through the dashboard:\n\n```ts\n\u002F\u002F Create a webhook endpoint\nconst { data } = await resend.webhooks.create({\n  url: \"https:\u002F\u002Fyourdomain.com\u002Fapi\u002Fwebhook\u002Fresend\",\n  events: [\"email.delivered\", \"email.bounced\", \"email.complained\", \"email.suppressed\"],\n});\n\n\u002F\u002F List all webhooks\nconst webhooks = await resend.webhooks.list();\n\n\u002F\u002F Delete a webhook\nawait resend.webhooks.remove(webhookId);\n```\n\n### Email Status: \"suppressed\"\n\nResend now tracks a `\"suppressed\"` delivery status for recipients on suppression lists (previous hard bounces or spam complaints). Check for this in webhook events alongside delivered\u002Fbounced\u002Fcomplained.\n\n### Webhook for Delivery Events\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhook\u002Fresend\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\";\n\nexport async function POST(req: Request) {\n  const event = await req.json();\n\n  switch (event.type) {\n    case \"email.delivered\":\n      \u002F\u002F Track successful delivery\n      break;\n    case \"email.bounced\":\n      \u002F\u002F Handle bounce â€” remove from mailing list\n      break;\n    case \"email.complained\":\n      \u002F\u002F Handle spam complaint â€” unsubscribe user\n      break;\n  }\n\n  return NextResponse.json({ received: true });\n}\n```\n\n## Environment Variables\n\n| Variable | Scope | Description |\n|----------|-------|-------------|\n| `RESEND_API_KEY` | Server | Resend API key (starts with `re_`) |\n\n## Cross-References\n\n- **Marketplace install and env var provisioning** â†’ `â¤³ skill: marketplace`\n- **API route patterns** â†’ `â¤³ skill: routing-middleware`\n- **Environment variable management** â†’ `â¤³ skill: env-vars`\n- **Serverless function config** â†’ `â¤³ skill: vercel-functions`\n\n## Official Documentation\n\n- [Resend + Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace\u002Fresend)\n- [Resend Documentation](https:\u002F\u002Fresend.com\u002Fdocs)\n- [Resend Next.js Quickstart](https:\u002F\u002Fresend.com\u002Fdocs\u002Fsend-with-nextjs)\n- [React Email Documentation](https:\u002F\u002Freact.email\u002Fdocs\u002Fintroduction)\n- [React Email Components](https:\u002F\u002Freact.email\u002Fdocs\u002Fcomponents\u002Fhtml)\n",{"name":5,"metadata":24,"description":7},{"docs":25,"sitemap":28,"priority":29,"bashPatterns":30,"pathPatterns":43},[26,27],"https:\u002F\u002Fresend.com\u002Fdocs","https:\u002F\u002Freact.email\u002Fdocs\u002Fintroduction","https:\u002F\u002Fresend.com\u002Fsitemap.xml",4,[31,32,33,34,35,36,37,38,39,40,41,42],"\\bnpm\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*\\bresend\\b","\\byarn\\s+add\\s+[^\\n]*\\bresend\\b","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F","\\bbun\\s+(install|i|add)\\s+[^\\n]*@react-email\u002F","\\byarn\\s+add\\s+[^\\n]*@react-email\u002F","\\bnpm\\s+(install|i|add)\\s+[^\\n]*react-email\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*react-email\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*react-email\\b","\\byarn\\s+add\\s+[^\\n]*react-email\\b",[44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"emails\u002F**","src\u002Femails\u002F**","components\u002Femails\u002F**","src\u002Fcomponents\u002Femails\u002F**","app\u002Fapi\u002Fsend\u002F**","src\u002Fapp\u002Fapi\u002Fsend\u002F**","app\u002Fapi\u002Femail\u002F**","src\u002Fapp\u002Fapi\u002Femail\u002F**","app\u002Fapi\u002Femails\u002F**","src\u002Fapp\u002Fapi\u002Femails\u002F**","lib\u002Fresend.*","src\u002Flib\u002Fresend.*","lib\u002Femail.*","src\u002Flib\u002Femail.*","lib\u002Femail*","src\u002Flib\u002Femail*","**\u002Femail-template*","main","92c2f40ebfad0c0aa3cc1faa89ffd6b23f9e8d1b","official-openai\u002Fopenai-local-vercel-email","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill","https:\u002F\u002Fsd-skill.vercel.app","https:\u002F\u002Fgithub.com\u002Frealsudarshan","sudarshandhakal.com.np","Innvotative","2026-11-12 23:03:50",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add realsudarshan\u002FSD-skill --skill email",{"tool":76,"command":77},"bunx","bunx skills add realsudarshan\u002FSD-skill --skill email",{"tool":79,"command":80},"pnpm","pnpm dlx skills add realsudarshan\u002FSD-skill --skill email","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-email\u002FSKILL.md",true,[84],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"agents\u002Fopenai.yaml","REFERENCE","参考文档",164,"https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-email\u002Fagents\u002Fopenai.yaml",[91,100,108,116,124,132],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7CW5Y6EPMPMNDWE4EN2GXRX","winui-app","Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7CW5RWFX7616ENEG573VFWG","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fvercel-deploy\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7CW5M4VZHQPWG764X1W0S3B","security-best-practices","Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review\u002Freport, or secure-by-default coding help. Trigger only for supported languages (python, javascript\u002Ftypescript, go). Do not trigger for general code review, debugging, or non-security tasks.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fsecurity-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fsecurity-best-practices\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7CW5EBTWA7PQ54HYFT1YW39","playwright","Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fplaywright\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fplaywright\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M7CW4DA7SZ4D9JMR3P7VJVM0","openai-docs","Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fopenai-docs\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fopenai-docs\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M7CW3EHY7X60KB9SYEMRD3YR","netlify-deploy","Deploy web projects to Netlify using the Netlify CLI (`npx netlify`). Use when the user asks to deploy, host, publish, or link a site\u002Frepo on Netlify, including preview and production deploys.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fnetlify-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fnetlify-deploy\u002FSKILL.md",[],[]]