I'm integrating Stripe into one of the apps. When I send invoices through Node.js SDK it's not sending invoice emails to customers when I use the test environment API key. But when I use a live environment API key with the exact same code, it sends the invoice email to the customer.
Also when I send invoices from the Stripe dashboard in test mode, it is sending emails to customers. The issue seems to be only with SDK/API in the test mode.
Is it possible to send emails to customers even in test mode using Node.js SDK/API?