Tesla CEO Elon Musk sent out a company-wide email Sunday claiming an employee had conducted ‘extensive and damaging sabotage’ to the automaker’s manufacturing operations.

According to the email, which was published in full by CNBC, the employee admitted to making code changes to Tesla’s manufacturing operating system and exported sensitive data to unknown third parties. The employee’s motivation for doing this, Musk says, was that he did not receive the promotion he was hoping for.

“The full extent of his actions are not yet clear, but what he has admitted to so far is pretty bad,” Musk said in the email. “His stated motivation is that he wanted a promotion that he did not receive. In light of these actions, not promoting him was definitely the right move.”

“However, there may be considerably more to this situation than meets the eye, so the investigation will continue in depth this week,” he added. “We need to figure out if he was acting alone or with others at Tesla and if he was working with any outside organizations.”

Musk then went on to say that there are “a long list of organizations that want Tesla to die,” including Wall Street short-sellers, oil and gas companies and big gas/diesel car company competitors, and that he’s not ruling out the possibility of the saboteur working hand-in-hand with one of these entities. He also took a swipe at those automakers who are suspected of gaming the emissions of their diesel vehicles, saying if they’re “willing to cheat so much about emissions, maybe they’re willing to cheat in other ways?”

SEE ALSO: First Tesla Model 3 With Performance Pack Produced

Tesla this week set up a semi-permanent ‘tent’ factory to support production of the Model 3 – part of its ongoing effort to reach a production milestone of 5,000 Model 3s per week. Musk said on Twitter last night that the tent facility was required as Tesla needed “another general assembly line to reach 5k/week Model 3 production,” and that “a new building was impossible, so we built a giant tent in 2 weeks.”

In the email, Musk cautioned employees to be on the lookout for further sabotage as the automaker approaches its goal of producing 5,000 Model 3s per week.

“Please be extremely vigilant, particularly over the next few weeks as we ramp up the production rate to 5k/week,” he said. “This is when outside forces have the strongest motivation to stop us.”

[Source: CNBC]

A version of this story originally appeared on AutoGuide.com.