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
npx -y skills add appeeky/stripe-skills --skill email-dunning-setupAssembled 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
- Confirm webhook handler exists (
webhook-reliability) - Sample past_due subs (
past-due-dunning) — were emails sent? (logs/DB) - 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