In a Wednesday hearing in Manhattan federal court, U.S. Magistrate Judge Ona Wang gave Tesla four weeks to turn over emails from Musk's account at his rocket manufacturing company SpaceX, to allow JPMorgan enough time to prepare for witness interviews.

The largest U.S. bank says Musk communicated through the SpaceX account about taking Tesla private, an idea Musk floated in August 2018 by tweeting he had "funding secured" for a possible buyout though none was close.

JPMorgan plans to depose Musk in December, Tesla lawyer Nathan Goralnik said at the hearing.

"SpaceX is not an alter ego of Mr. Musk, but we don't expect there to be any issue getting those documents produced," Goralnik said.

JPMorgan sued Tesla for $162.2 million in November 2021, saying Tesla breached a 2014 contract related to stock warrants it sold to the bank, and which JPMorgan believes became more valuable because of Musk's tweet.

Warrants give the holder the right to buy a company's stock at a set "strike" price and date.

JPMorgan said it was obligated to reprice the warrants after Musk's notorious tweet, and that a subsequent ten-fold increase in Tesla's stock price required that company to make payments, which it has not done.

Tesla countersued JPMorgan in January, accusing the bank of seeking a "windfall" when it re-priced the warrants.

A federal jury in San Francisco in February found Musk and Tesla not liable for misleading investors with the tweet.

Musk, who bought Twitter last year for $44 billion, agreed in a 2018 deal with the U.S. Securities and Exchange Commission to get preapproval from a Tesla lawyer for some tweets. A federal appeals court is considering his bid to end that agreement.

(Reporting by Luc Cohen in New York; Editing by Chizu Nomiyama)

By Luc Cohen