Gravar-mail: Influence of learning on range expansion and adaptation to novel habitats