test now generates email with results