fixed email issue with repair