Shouldn't it be better to return the invit itself and null if not send?