A leaked email sent to Uber bosses by a staff member arrived days before a car hit and killed a pedestrian.