I can back up the magnesium theory. Started pounding the stuff (100% chelated) a few years ago after reading about how many processes it's involved in and how little of it we actually get in our diets, and it was a game-changer. B12 also made a huge difference, even though I'm not vegetarian.
Would disagree that it's enough to eat a healthy diet. Our bodies evolved to eat an absurdly broad diet that provided countless nutrients that are hard to get today, even if you eat a local, organic, plant-based diet (which I do not).