Epsom salt is not used for gargling purpose. Ideally rock salt is used for gargling purpose.
Next Steps
In case Epsom salt is swallowed no harm is done. To be doubly safe drinking a glass of buttermilk or eating a ripe banana will help.
Health Tips
Before using Any substance / medicine which is commonly available full instructions are to be noted and followed.