I hate it that some people take others' mental health issues as a green light to devalue what a person says. Can you talk to the manager who suggested/required the disclosure for a reality check about what was said in your meeting with the other manager, and about the appropriateness of that manager's shouting in email? We all know caps are shouts. And if a person is that upset, it is incumbent upon them to ask for a meeting, not to let the topics become an issue in the job.
I am so sorry this happened. It happened to me, too. Lots of scars from it.