Gravar-mail: Dissimilarity-driven behavior and cooperation in the spatial public goods game