Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)16k · #10839

debug-resend-delivery

Skill này làm gì

Skill này tìm xem email dừng lại ở đâu trên đường từ Resend đến người nhận. Dành cho người có email bị thiếu, bị trả về hoặc rơi vào thư rác.

Khi nào nên dùng

  • ✓Khi có người nói email chưa bao giờ đến nơi hoặc đã vào thư rác.
  • ✓Khi một email bị trả về và bạn cần biết lý do.
  • ✓Khi email hoặc webhook của ứng dụng dường như thất bại.

Liên kết skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/resend/skills/debug-resend-delivery/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ParadevAI/Paradev/blob/main/plugins/resend/skills/debug-resend-delivery/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Một khách hàng nói họ chưa nhận được email chào mừng chúng tôi gửi qua Resend hôm qua. Hãy tìm xem nó dừng ở đâu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm email trong Resend và đọc trạng thái của nó. Tùy trạng thái đó, nó kiểm tra nhật ký API để tìm yêu cầu lỗi, danh sách chặn hoặc tên miền gửi, và không thay đổi gì cho đến khi rõ nguyên nhân.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Find where the email stopped

An email that "never arrived" stopped at one of four points: Resend never accepted the request, Resend did not send it, the receiving server rejected it, or it arrived and the user did not see it. Find the point before you change anything.

1. Find the email

Run list-emails and match the recipient, subject, and time. Then run get-email on the match.

If there is no match, the request did not succeed. Go to step 2.

2. No email: read the API log

Run list-logs and find requests to /emails near the time of the send. Run get-log on any request that did not return 2xx. The response body names the cause, for example a domain that is not verified, a field that is not valid, or a rate limit. Quote it to the user.

3. An email: read its status

The status in get-email tells you what to do next:

  • queued, scheduled: not sent yet. A scheduled email waits for its time.
  • sent: Resend accepted it, and the receiving server has not answered yet. Look again after a few minutes.
  • delivery_delayed: the receiving server is deferring it. Resend tries again. Do not send it again.
  • delivered, opened, clicked: it arrived. Tell the user to look in spam, promotions, and any mail filters, then go to step 5.
  • bounced: the receiving server rejected it. Go to step 4.
  • complained: the recipient marked it as spam.
  • suppressed: Resend did not send it, because the address is on the suppression list. Go to step 4.
  • failed, canceled: it was not sent. Read the details, and look for the request in step 2.

4. Bounces and suppressions

Run get-suppression with the address. The origin tells you why it is there: bounce (a hard bounce), complaint (a spam report), or manual. Resend does not send to a suppressed address again.

Remove an address only when the user asks, and only after they confirm that the cause is fixed. If an address bounced or complained and you send to it again, it hurts the sender reputation of the domain.

5. Spam placement and the domain

Run get-domain on the sending domain. A DNS record that is not verified (SPF, DKIM, or the MX record for the return path) is the usual cause of mail going to spam. Show the user each record and its status. For a pattern across many emails and not one, run get-email-metrics for the period, by domain.

6. The webhook did not report it

When the app missed the event and not the email, run list-webhooks, then list-webhook-events on the right webhook. An event with the status failed or attempting has its cause in list-webhook-event-attempts: the HTTP status and the body that the user's endpoint returned.

Anti-patterns

  • Sending again to see if it works. A bounce or a suppression gives the same result. A delay recovers on its own, and then the recipient gets it twice.
  • Removing a suppression to make the email go through. The suppression is what protects the domain.
  • Stopping at sent. It is not the end of the path. Look again.
Câu hỏi thường gặp

Nó có gửi lại email không?

Không. Khi email chỉ bị trễ, skill khuyên không gửi lại, vì Resend tự thử lại.

Nếu email không có trong danh sách thì sao?

Khi đó yêu cầu không thành công, và skill kiểm tra nhật ký API để xem phản hồi lỗi.

Email đã được gửi có luôn đến hộp thư đến không?

Không nhất thiết. Khi email đã gửi nhưng không thấy, skill bảo bạn kiểm tra thư rác, mục khuyến mãi và bộ lọc thư.

Chi tiết

Mô tả gốc của tác giả

Find out why an email sent with Resend did not arrive — find the email, read its status, then check the API log, the suppression list, the sending domain, and the webhook that should have reported it. Use when the user says an email never arrived, went to spam, bounced, or that their app's sends or webhooks are failing.

repo: ParadevAI/Paradev

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10839
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự