Gravar-mail: Robust spectrotemporal decomposition by iteratively reweighted least squares