Gravar-mail: Social confinement and mesoscopic localization of epidemics on networks