Gravar-mail: Mating system affects population performance and extinction risk under environmental challenge