[#56226936] fix mail sending on test environment