(Reuters) - An official at the Duke University School of Medicine stepped down, a day after she was denounced by students on social media for sending an email saying Chinese students should speak English on campus.

Megan Neely left her position as director of graduate studies for the biostatistics master’s program “effective immediately,” the dean of the school told students in a letter on Sunday, according to the university’s newspaper, The Chronicle.

The dean, Mary Klotman, said Duke’s Office of Institutional Equity would conduct a thorough review of the program.

The email by Neely, who remains an assistant professor of biostatistics and bioinformatics at Duke, said she was approached by two faculty members who wanted details of first-year students “they observed speaking Chinese (in their words, VERY LOUDLY)” on campus.

The faculty members asked for photos of the students to be able to identify them “so they could remember them if they ever interviewed for an internship or ask to work with them for a master’s project.”

“I encourage you to commit to using English 100 percent of the time,” Neely wrote to students in the master’s program. The faculty members were upset, she added, because the students were “being so impolite as to have a conversation that not everyone on the floor could understand.”

Screenshots of her email circulated widely on social media on Saturday, prompting some students to submit a petition reut.rs/2G2zkeH urging the school to investigate what they called her "apparently discriminatory actions against international students."

Klotman and Neely did not immediately respond to a request for comment on Sunday. Reuters could not verify the contents of the email.

In her letter, the dean reassured students there is “absolutely no restriction or limitation” on the language they choose to use on campus.