Since this function no longer necessary sends emails, it should probably be renamed.