Snails come from eggs and their eggs are very tiny (see below.) They could come from almost any moist terrestrial or aquatic source that wasn't sterilized. Shelled gastropods (commonly called snails) even inhabit forests and deserts.
When you added fish to the tank, 1 snail egg could have come along, and since snails are hermaphrodites, even just 1 can become many.
I have MTS, pond and ramshorn snails in all my tanks and sumps, and they were never intentionally put there.
But they spend the night burrowing thru the substrate keeping it from compacting, and slightly aerated, they also eat rotting plant parts, helping to break them down (to me) another plus, and also eat a little algae.
Occasionally when out of control I crush them agaist the glass so they become fish food. [/URL I live on an island in the Pacific, where they live in streams, trees, everywhere, and some eat paper.