Added success and failure emails

Please make any amendments required or inline comments