I happened to be looking up TPPP gene, i.e. since it turned up in a recent (small) GWAS study in ME/CFS*, and I noticed that magnesium got a mention:
"Entrez Gene Summary for TPPP Gene
Enables several functions, including GTPase activity; magnesium ion binding activity; and protein...