Change how invoice email is done to an observer event