Some people do not tolerate Epsom Salts . I had to switch to magnesium chloride which works fine for me. I know of others who do not tolerate Epsom Salts whereas others do.
You could try some liquid magnesium chloride or magnesium citrate and see if that is gentler on your system.