I've never heard of using Sea Salt in that way. table salt is sodium chloride.
Epsom Salt is magnesium sulfate. they are quite different. Epsom has a reputation for being calming because both magnesium and sulfate can have a calming effect. For example, Mg is involved in production of a couple of calming brain chemicals. Sulfate helps to break down other chemicals that tend to cause us to feel amped up.