email-best-practices

โดย resend

ใช้เมื่อสร้างฟีเจอร์อีเมล อีเมลไปสแปม อัตราตีกลับสูง ตั้งค่าระบบยืนยันตัวตน SPF/DKIM/DMARC ใช้งานการเก็บอีเมล รับประกัน…

npx skills add https://github.com/resend/resend-skills --skill email-best-practices

Email Best Practices

Guidance for building deliverable, compliant, user-friendly emails.

Architecture Overview

[User] → [Email Form] → [Validation] → [Double Opt-In]
                                              ↓
                                    [Consent Recorded]
                                              ↓
[Suppression Check] ←──────────────[Ready to Send]
        ↓
[Idempotent Send + Retry] ──────→ [Email API]
                                       ↓
                              [Webhook Events]
                                       ↓
              ┌────────┬────────┬─────────────┐
              ↓        ↓        ↓             ↓
         Delivered  Bounced  Complained  Opened/Clicked
                       ↓        ↓
              [Suppression List Updated]
                       ↓
              [List Hygiene Jobs]

Quick Reference

Need to...See
Set up SPF/DKIM/DMARC, fix spam issuesDeliverability
Build password reset, OTP, confirmationsTransactional Emails
Plan which emails your app needsTransactional Email Catalog
Build newsletter signup, validate emailsEmail Capture
Send newsletters, promotionsMarketing Emails
Ensure CAN-SPAM/GDPR/CASL complianceCompliance
Decide transactional vs marketingEmail Types
Handle retries, idempotency, errorsSending Reliability
Process delivery events, set up webhooksWebhooks & Events
Manage bounces, complaints, suppressionList Management
Make emails accessible (screen readers, alt text, contrast)Accessibility

Start Here

New app? Start with the Catalog to plan which emails your app needs (password reset, verification, etc.), then set up Deliverability (DNS authentication) before sending your first email.

Spam issues? Check Deliverability first—authentication problems are the most common cause. Gmail/Yahoo reject unauthenticated emails.

Marketing emails? Follow this path: Email Capture (collect consent) → Compliance (legal requirements) → Marketing Emails (best practices).

Production-ready sending? Add reliability: Sending Reliability (retry + idempotency) → Webhooks & Events (track delivery) → List Management (handle bounces).

Accessibility? Most emails fail basic accessibility checks. See Accessibility for lang/dir, presentational tables, headings, alt text, <title>, and contrast.

Skills เพิ่มเติมจาก resend

resend-inbound
resend
resend-inbound — ทักษะที่สามารถติดตั้งได้สำหรับเอเจนต์ AI เผยแพร่โดย resend/resend-skills
official
resend-design-skills
resend
ใช้เมื่อต้องการทรัพยากรการออกแบบของ Resend นำทางไปยังแนวทางของแบรนด์ อัตลักษณ์ทางภาพ คอมโพเนนต์ UI โทเค็นการออกแบบ และรูปแบบหน้าเว็บการตลาด
official
email-best-practices
resend
คำแนะนำครอบคลุมสำหรับการสร้างระบบอีเมลที่ส่งถึงผู้รับได้ ปฏิบัติตามข้อกำหนด และใช้งานง่าย ครอบคลุมการตั้งค่าการยืนยันตัวตน (SPF/DKIM/DMARC) การแก้ไขปัญหาสแปม และแนวทางปฏิบัติที่ดีที่สุดในการส่งถึงผู้รับเพื่อป้องกันไม่ให้อีเมลตกอยู่ในสแปม รวมถึงเทมเพลตและรูปแบบสำหรับอีเมลธุรกรรม (การรีเซ็ตรหัสผ่าน OTP การยืนยัน) และอีเมลการตลาดที่มีขั้นตอนการขอความยินยอมที่เหมาะสม ให้กรอบการปฏิบัติตามข้อกำหนดสำหรับกฎหมาย CAN-SPAM, GDPR และ CASL พร้อมด้วยการยืนยันแบบสองขั้นตอนและรายการระงับ...
official
email-best-practices
resend
ใช้เมื่อสร้างฟีเจอร์อีเมล อีเมลไปสแปม อัตราตีกลับสูง ตั้งค่าระบบยืนยันตัวตน SPF/DKIM/DMARC ใช้งานการเก็บอีเมล รับประกัน…
official
react-email
resend
สร้างและส่งอีเมล HTML โดยใช้ React components พร้อมสไตล์ที่ปลอดภัยสำหรับไคลเอนต์และการทดสอบตัวอย่าง การพัฒนาแบบ component-based รองรับ TypeScript มี core layout components (Html, Body, Container, Section, Row, Column) และ content elements (Heading, Text, Button, Image, CodeBlock) การจัดสไตล์ด้วย Tailwind CSS ผ่าน Tailwind component พร้อม preset แบบ pixel; ต้องใช้ table-based layouts เพื่อความเข้ากันได้กับไคลเอนต์อีเมล ตัวอย่างการแสดงผลบนเซิร์ฟเวอร์พัฒนาท้องถิ่นที่ localhost:3000 พร้อมการแก้ไขแบบเรียลไทม์;...
official
resend-cli
resend
ก่อนที่จะรันคำสั่ง resend ใดๆ ให้ตรวจสอบว่าได้ติดตั้ง CLI แล้วหรือไม่:
official
agent-email-inbox
resend
ใช้เมื่อสร้างระบบใดๆ ที่เนื้อหาอีเมลเป็นตัวกระตุ้นการดำเนินการ — กล่องจดหมายของเอเจนต์ AI, ตัวจัดการการสนับสนุนอัตโนมัติ, ท่อส่งงานจากอีเมลเป็นงาน, หรือเวิร์กโฟลว์ใดๆ…
official
react-email
resend
ใช้เมื่อสร้างเทมเพลตอีเมล HTML ด้วยคอมโพเนนต์ React เพิ่มตัวแก้ไขอีเมลแบบภาพลงในแอปพลิเคชันโดยใช้ตัวแก้ไขแบบภาพของ React Email เรนเดอร์…
official