This happened at a company where I worked. A candidate who was rejected emailed and asked why he didn't get the job, and one of the interviewers replied that he had a thick Indian accent (coincidentally, the interviewer was also Indian), and that would make it difficult for customers to understand him. He sued and later settled out of court for a rumored 6 figures. After that, rejections were handled automatically via snail mail direct from corporate.