remove mail sending on non-prodution