An attorney who said he spoke with President Trump’s lawyer Rudy Giuliani tried to calm Michael Cohen in an April 2018 email, telling Trump’s former fixer that he could “sleep well tonight” because he had “friends in high places,” according to an explosive new report.

Two emails dated April 21, 2018, were among documents Cohen gave to Congress, and do not specifically offer a pardon, CNN reported.

But Cohen, in his closed-door congressional testimony, handed over the emails to back his claim that a pardon was dangled before he decided to cooperate with the feds, the network reported, citing sources.

But lawyer Robert Costello told CNN that Cohen’s interpretation of the messages was “utter nonsense.”

Costello insisted that it was Cohen who asked him to raise the issue of a pardon with Giuliani.

“Does dangled mean that he raised it and I mentioned it to Giuliani, and Giuliani said the president is not going to discuss pardons with anybody? If that’s dangling it, that’s dangling it for about 15 seconds,” said Costello.

But a source close to Cohen disputed Costello’s version and insisted it was Costello who was pushing his relationship with Giuliani, the network reported.

“I just spoke to Rudy Giuliani and told him I was on your team,” Costello wrote in the first of two emails.

“He asked me to tell you that he knows how tough this is on you and your family and he will make [sure] to tell the President. He said thank you for opening this back channel of communication and asked me to keep in touch.”

In the second email, Costello told Cohen he had spoken to Giuliani and told Cohen that it was “very very positive.”

“There was never a doubt and they are in our corner,” Costello wrote. “Rudy said this communication channel must be maintained. He called it crucial and noted how reassured they were that they had someone like me whom Rudy has known for so many years in this role. Sleep well tonight, you have friends in high places,” Costello concluded.

Giuliani had previously said he never offered anyone a pardon on the president’s behalf.