An FBI lawyer texted a bureau agent that then-President Obama “wants to know everything we’re doing” — a message that a Senate committee suggested could refer to the federal investigation of Hillary Clinton’s emails.

The messages shared between attorney Lisa Page and her lover and bureau colleague Peter Strzok were released Wednesday by the Senate Homeland Security Committee, which provides oversight of the bureau, and is chaired by GOP Sen. Ron Johnson of Wisconsin.

In one exchange, Page wrote to Strzok in September, 2016 about prepping FBI Director James Comey on talking points for an update he was planning to give Obama that said: “potus wants to know everything we’re doing.”

Johnson told NBC News that the texts were “totally candid, unvarnished” and “just raise an awful lot of questions.”

But a later report said the text was referring to the probe into Russia — not Clinton.

The Wall Street Journal said that associates of Strzok and Page said the exchange referred to the president’s desire for information on Russia election meddling, which the FBI was investigating over that period.

The text was sent just three days before Obama attended a summit in China, where he would meet with Vladimir Putin on Sept. 5.

Obama said later he told Putin at that meeting to “cut it out” and stop meddling in the US presidential election, suggesting he may have wanted talking points about that the from the former FBI chief.

The timing of Page’s message, which was sent on Sept. 2, also raised questions, as Comey had closed the Clinton probe that July and didn’t reopen it until October — while the Russia probe was still underway in September.

“Although sometimes cryptic and disjointed due to their nature, these text messages raise several questions about the FBI and its investigation of classified information on Secretary Clinton’s private email server,” the Senate report said.

One question is “whether, and the extent to which, the Obama Department of Justice or White House influenced the FBI’s investigation” into the former first lady’s use of a private email server while secretary of state, it said.

President Trump reacted to the messages on Twitter.

“ NEW FBI TEXTS ARE BOMBSHELLS! ” he wrote.

The report also included other exchanges between Strzok and Page that are harshly critical of Trump.

In a Aug. 6, 2016, text, the couple discussed how their work was “meant to protect the country from that menace,” referring to Trump.

Days later, on Aug. 15, they wrote that they “can’t take that risk” of a Trump presidency.

White House spokeswoman Sarah Huckabee Sanders said later Wednesday that the texts “further shows that there is reason for us to have great cause for concern.”

Obama had vowed in April 2016 not to interfere in any FBI probe.

“I do not talk to the attorney general about pending investigations. I do not talk to FBI directors about pending investigations. We have a strict line,” he told Fox News.

Former Attorney General Eric Holder, who served under Mr. Obama though not during the Clinton probe, told reporters Wednesday the president never intervened in an investigation.

“President Obama and I are friends, but he also understood—as I understood-—that there has to be a wall between the Justice Department and the White House,” Mr. Holder said at a breakfast hosted by the Christian Science Monitor. Though he made decisions that Mr. Obama presumably didn’t agree with, Mr. Holder said, “I never heard from him.”

Citing Page’s and Strzok’s remarks about the president as an “idiot,” ”loathsome,” ”menace” and “disaster,” and discussing the need to “protect the country from the menace” of Trump “enablers,” the Senate panel’s report said the messages “raise several questions about the FBI and its investigation of classified information on Secretary Clinton’s private email server.”

At the time, Strzok was one of the agents involved in the Clinton probe.

Later he joined special counsel Robert Mueller’s investigation into Russian interference in the presidential election.

Mueller removed Strzok from his team last summer after the first batch of messages between him and Page surfaced.