# You can listen to webhook indicates the payment failed payment_intent.failed and write a logic to send an email there