Interesting. My mom was Celiac - diagnosed at birth but back then doctors thought it was something you naturally outgrew. By her teens she was a wreck - docs had a million excuses for all of her symptoms - and it took until her early 30s, when celiac was more understood and starting to be studied and looked at for her to get a re-diagnosis. By then, her bowel had been put through YEARS of gluten and it never really seemed to heal properly.
My mom did also have some 'emotional' problems. She did some research on things and ended up with a book called The Brain Bowel Connection (or something along those lines, I'd have to look through Amazon to confirm title) and it did look at the connections between problems in the bowel - celiac, Crohn's IBS, etc - and how they affected the brain. In the end (as you can guess by the title) the conclusion is that there is a strong link between things like depression (although that's not a surprise to me given the nature of the bowel problems), autism, schizophrenia, manic episodes, bi-polar disorders, etc.
It is an interesting read, if this is something you are thinking of. I'll try to find the exact title and let you know.