OTTAWA — Senate officials say they were told in January 2021 about phishing emails targeting parliamentary accounts — attacks that were later attributed to hackers acting on behalf of Beijing.