After a state attorney general investigation revealed that health insurer EmblemHealth Inc. had been denying mental health and substance abuse treatment to thousands of its New York members, the company will now have to pay a penalty of $1.2 million.