I need to add a new status for products that are on backorder, and send the customer an email that the product is on backorder and will be delivered when I receive the stock.

I have added the order status in localizations and I have allowed products to be added to the cart when no stock but how do I go about setting up the email?