agentsclimarketplace

Email dunning setup

Skill appeeky/stripe-skills/skills/email-dunning-setup

Audits payment-failed and dunning email flows — Stripe built-in emails vs custom webhook emails. Use when the user asks "payment failed email", "dunning emails", "billing emails setup", or "notify users when card fails".From its SKILL.md

Install
npx -y skills add appeeky/stripe-skills --skill email-dunning-setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, as published. Nobody here has run it

Email & Dunning Setup

Two Layers

1. Stripe-native (Dashboard)

Settings → Billing → Customer emails:

  • Failed payment
  • Expiring card
  • Trial ending
  • Receipts

Verify toggles ON for production.

2. Custom (your app)

Webhook invoice.payment_failed → send email with Portal link.

Codebase Audit

Grep: payment_failed, payment-failed, invoice.payment_failed, sendPaymentFailed, Resend/SendGrid/Postmark.

MCP + Code Workflow

  1. Confirm webhook handler exists (webhook-reliability)
  2. Sample past_due subs (past-due-dunning) — were emails sent? (logs/DB)
  3. Customer Portal URL in email template?

Output Template

Dunning Email Audit

Stripe emails: [on/off per type]
Custom email on payment_failed: yes/no
Portal link in email: yes/no
Gap: [description]

Recommended sequence:
Day 0 fail → Stripe retry
Day 3 → custom email + portal
Day 7 → final notice

Keep looking

Skills are one crate of 626,194. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.