the use of an addon

With version 3.9, this module should be useless.
From the list of invoices, you should be able to select unpaid invoices and send emails for all of them.