A researcher found that low-immunity persons score lower in mental health tests than high-immunity persons. The researcher's conclusion is that the immune system can not only defend against physical diseases, but also against mental diseases.
Generally speaking, intense stress first causes mental illness first and then reduces the activity level of the immune system challenges most towards the invalidity of the causal connection.