How to send a mail whether the idoc of the invoice number is created successfully or not? Can you please send steps how to achieve it?