One has to maintain purity while going for kainkaryam in temples, it is not wrong to come into contact with other fellow kainkaryaparas, but if one happens to touch others it is not possible to take a bath halfway through to temple. Must ensure we do not come into contact with anyone. Mantra snanam is not done through rishi chandas; yes, sankalpam has to be done for mantra snanam.
Notes:
If we need to maintain purity, we should be cautious as well. If the temple is crowded, one cannot avoid coming in contact with others which is accepted.