Yes, Mercury does have a tail. This is because unlike Venus and Earth, Mercury is too close to the Sun to have an atmosphere permanently, as its gravity isn't strong enough to maintain it. This causes all the evaporated sodium atoms to be stripped off Mercury, which forms a comet-like tail in the opposite direction of the Sun. This tail extends to longer than 2.5 million kilometers.