Need to send emails from my website for recurring declined payment Authorize.Net

How can I send emails from my website to my customers when there recurring payment is declined. Can we set an email template for recurring declined payments. The payment gateway I am using is Authorize.Net

Please help
Any help will be appreciated

Needs custom code. You need to create a payment notification with corresponding server-side code, so you can check for declined payment. Your code must recognize it, and to send need mail.

If you need a developer, feel free to send me a PM.