Following President-elect Donald Trump's stunning upset over Hillary Clinton, the founder and CEO of Grubhub told his employees this week that comments and behaviors akin to Trump's would not be tolerated in the workplace.

Matt Maloney, with the online food delivery service, sent a companywide email Wednesday in which he said he was “trying to reconcile my own worldview with the overwhelming message that was delivered last night,” referring to Trump's win.

“While demeaning, insulting and ridiculing minorities, immigrants and the physically/mentally disabled worked for Mr. Trump, I want to be clear that this behavior — and these views, have no place at Grubhub,” he wrote to his employees. “Had he worked here, many of his comments would have resulted in his immediate termination. We have worked for years cultivating a culture of support and inclusiveness. I firmly believe that we must bring together different perspectives to continue innovating — including all genders, races, ethnicities and sexual, cultural or ideological preferences.”

Maloney wrote that those who do not agree with his statement should resign “because you have no place here. We do not tolerate hateful attitudes on our team.”

Grubhub, which partners with more than 45,000 restaurants in more than 1,100 U.S. cities and London, serves 7.7 million active customers, according to the company's website.

In a statement on the company website Wednesday, Maloney said he understood that emotions were raw in the wake of a divisive presidential election that had been a source of anxiety for many employees at his company, which is why he reached out to them “during this time of transition for our country.”

“I absolutely reject the nationalist, anti-immigrant and hateful politics of Donald Trump and will work to shield our community from this movement as best as I can,” he wrote in the email to employees. “As we all try to understand what this vote means to us, I want to affirm to anyone on our team that is scared or feels personally exposed, that I and everyone else here at Grubhub will fight for your dignity and your right to make a better life for yourself and your family here in the United States.”

Maloney also alluded to Clinton's concession speech earlier in the day, in which she told the American people: “We owe [Trump] an open mind and the chance to lead. Our constitutional democracy enshrines the peaceful transfer of power.”

“But,” Maloney said, “never stop believing that the fight for what's right is worth it.”

In his website statement, Maloney said his email may have been misconstrued by the news media, explaining that he did not tell those who had voted for Trump that they were not welcome to work for his company.

“I would never make such a demand,” he said in his statement. “To the contrary, the message of the email is that we do not tolerate discriminatory activity or hateful commentary in the workplace, and that we will stand up for our employees. Grubhub welcomes and accepts employees with all political beliefs, no matter who they voted for in this or any election.”

Read more: