Resend Email API

Sending programmatic, HTML transactional emails with custom domains using Resend.

Lord1Egypt Updated 2 repo stars

File contents

Resend Email Api

Overview

Resend is the email service platform for developers, built on React Email schemas and modern API structures.

When to Use This Skill

Use to send responsive emails with custom styling and tracking analytics from serverless functions.

Quick Start (with runnable code examples)

import requests

url = "https://api.resend.com/emails"
headers = {"Authorization": "Bearer re_..."}

data = {
    "from": "onboarding@resend.dev",
    "to": "akim.221992@gmail.com",
    "subject": "Hello from Lord1Egypt",
    "html": "<strong>Welcome onboard!</strong>"
}

r = requests.post(url, json=data, headers=headers)
print(r.json())

Advanced Usage

Track email delivery status events via webhook logs, attach pdf attachments, and integrate React Email component layouts.

Key References

Dependencies

  • requests>=2.28.0

Lord1Egypt/ai-skillforge/tree/main/skills/gemini/resend-email-api commit 86ed3d150e

Frequently asked questions

npx skillmds@latest add lord1egypt/resend-email-api