Gravar-mail: Inferring whole-genome histories in large population datasets