I have had a similar experience. Magnesium lowered my anxiety and made me feel 10 years younger. My sleep is better too. And it's so cheap, yet none of the doctors mentioned it. I only discovered it by chance, when I bought a tube of effervescent pills to sweeten water while travelling (didn't trust the taste of water where I was going). So many schooled doctors, and yet none of them made such a simple suggestion!
Another wonder mineral is Calcium. It relieves my back pain. I have learned when I need Mg or Ca by the way I feel, so now I am OK without abusing them. I just pop one when needed.