It's inconvenient to lose your phone contacts – whether through an ordinary mishap or an FBI raid.

When longtime Donald Trump lawyer Michael Cohen lost his, due to the later, he reached out to Keith Davidson, the former attorney to porn star Stormy Daniels, to get back in touch.

Daniels' current lawyer, Michael Avenatti, says the email directly rebuts the claim by Trump lawyer Rudy Giuliani that 'of course' Cohen is no longer representing Trump.

Avenatti further claims that the email to reestablish contact with Davidson – who helped negotiate a non-disclosure agreement between Cohen, Daniels, and Donald Trump – could show an effort to obstruct justice, though he doesn't say how.

PLEASE CALL: Longtime Donald Trump lawyer Michael Cohen emailed former Stormy Daniels lawyer Keith Davidson two days after the FBI raised his home and office and removed his electronic devices

Avenatti posted the email on Twitter Thursday.

'On April 9, the FBI raided Mr. Cohen's home, office and hotel room. Within 48 hours, Mr. Cohen sent the below email to Mr. Davidson. Why? They had no ongoing legal matter at the time. Was it part of an attempt by Mr. Cohen to obstruct justice or worse?' he wrote.

Asked how he obtained it, Avenatti told DailyMail.com: 'I demanded it from Mr. Davidson.'

In the email, Cohen identifies himself as 'Personal Attorney to President Donald J. Trump.'

Seeking to reestablish contact, Cohen glosses over the FBI raid, which had already made international news anyway.

Stormy Daniels lawyer Michael Avenatti has obtained a letter Michael Cohen wrote to lawyer Keith Davidson in April

Cohen wrote that he lost his contacts – but neglected to mention the FBI took his phones away

The email signature identifies Cohen as 'personal attorney' to President Trump

'I lost all my contacts as I had to get a new phone,' he wrote Davidson. 'Please send me all your contact info. Also, why did Anthony back out on ABC to do the story? Let me know how you want to communicate,' he concluded.

Avenatti took another shot at Giuliani, who recently joined Trump's legal team, on Twitter.

'Mr. Giuliani claims that Mr. Cohen is no longer Mr. Trump's lawyer. As of when? Because as of April 11, 2018 this year, he was still his lawyer as evidenced by the email I just posted (see also Mr. Trump's comments on AF1 that same month),' he added, in reference to Trump's statement to reporters that Cohen was his lawyer.

Porn star Stormy Daniels with lawyer Michael Avenetti. She previously was represented by Keith Davidson

Giuliani told ABC's 'This Week' on Sunday, when asked if Cohen was still Trump's lawyer: 'Of course not. It would be a conflict right now for him to be the president's attorney,' he said.

A Davidson spokesman didn't immediately return a request for comment.

Davidson is cooperating with law enforcement in the Southern District of New York, his spokesman told the Washington Post last month.

He handed over 'certain limited electronic information' spokesman Dave Wedge told the paper. 'He has done so and will continue to cooperate to the fullest extent possible under the law,' Wedge said.

Avenatti's disclosure comes just days after he released a trove of financial information about Cohen, which he said demonstrated influence peddling as he took funds from major companies as well as $500,000 from a firm linked to a Russian oligarch.