the basic reason is that, the electronic configuration of mercury is more stable than other metals(which you can see from the fact that all its electron-occupied subshells are completely filled), therefore its valence electrons do not delocalise as many as that of other metal atoms.
From here, can you figure out the reason for why mercury is a liquid but not for other metals now?