Gravar-mail: New algorithms for identifying the flavour of [Formula: see text] mesons using pions and protons