Gravar-mail: Emergence of Function and Selection from Recursively Programmed Polymerisation Reactions in Mineral Environments