Transport equations with integral terms: existence, uniqueness and stability