Gravar-mail: An empirical criterion to classify T Tauri stars and substellar analogs using low-resolution spectroscopy