Uber CEO Travis Kalanick fired off a bizarre email in 2013 to hundreds of employees where he listed the conditions under which they could have sex with each other at a company outing in Miami, among other off-color comments, according to reports.

Recode obtained an email Thursday that has become infamous in the company as the “Miami letter.” In the email, Kalanick allegedly started off by telling his staff that they had to read it or “I’ll kick your ass.”

“Do not have sex with another employee UNLESS a) you have asked that person for that privilege and they have responded with an emphatic ‘YES! I will have sex with you’ AND b) the two (or more) of you do not work in the same chain of command. Yes, that means that Travis will be celibate on this trip,” Kalanick wrote in the email.

The email surfaced as Uber weathers a series of scandals related to the company’s allegedly toxic culture.

On Tuesday, Uber fired 20 employees after launching a probe into accusations of sexual harassment and gender discrimination. The company retained a lawyer for the investigation when former employee Susan J. Fowler wrote a viral blog post about how Uber ignored complaints from her and other female workers.

In a separate incident, a senior executive was fired on Wednesday after Recode reported that he allegedly obtained the medical records of a woman who was raped by an Uber driver in India.