Gravar-mail: X-ray insights into star and planet formation