There is a wonderful article in the National Post/Holy Post that talks about the connection between mental health and religion.
I have read many articles about the connection. Dr. Herbert Benson, a cardiologist and cardiac specialist at Harvard wrote a book many years ago about the connection between prayer and mental wellness.
This article refers to a study completed at the University of Saskatchewan. It is available as word document. It is an easy read.
I strongly recommend it.