Editor's Note: This column was updated to clarify the context of Maloney's expressed views.

GrubHub CEO Matt Maloney sent an email to employees stating his disappointment with Donald Trump's win and telling employees that if they agree with Trump's "hateful politics" they should "reply to this email with your resignation because you have no place here. We do not tolerate hateful attitudes on our team."

Specifically, here's what Maloney doesn't like about Trump's views:

...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. 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.

No matter whom you voted for, this should shock and appall you. The last thing we want is companies insisting that you must vote for a certain person to keep your job.

GrubHub backpedaled pretty quickly with this press release in which Maloney denied that he meant people should resign if they voted for Trump.

Some of the statements in my email ... have been misconstrued. I want to clarify that I did not ask for anyone to resign if they voted for Trump. I would never make such a demand. 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 whom they voted for in this or any election. We do not discriminate on the basis of someone's principles, or political or other beliefs.

Nice try. You can't come out and say if anyone supported political candidate A, there is no place for you, and then flip it and say that you support everyone. You don't. You don't support people who have differing opinions than you do.

Currently, it's against the law for companies to punish people for political views in only a handful of jurisdictions, but it should be a bedrock of our republic.

I strongly dislike employers prying into their employees' social media accounts, but this goes to another extreme. Telling people that whom they voted for means they shouldn't work there anymore is a ridiculous overreach of power.

If you're concerned that Trump voters are racists or Clinton voters don't respect confidential data rules, the solution isn't to tell supporters to leave your company. The solution is to make sure that your company's rules are followed, and that federal, local, and state laws are followed.

Maloney is correct that, if Trump were an employee of GrubHub and had made the well-publicized comments about sexual harassment and other inappropriate statements, he would have been fired. That is a fine and appropriate statement to make. What is not appropriate is to say people who supported him in the election have no place in your office.

Companies have the right to support the political candidates of their choice. What they shouldn't do, though, is attack their employees for disagreeing. If you see that trend starting, all of us should be in a panic. We talk about the importance of diversity, but if diversity means having the same political views as the CEO, we're doomed to a very un-diverse business.

There may be legal implications for GrubHub, as it does business where political activity is protected by law. Remember, your headquarters may be in one place, but your employees are covered by their local laws.

Be smart. Let your employees vote for whomever they wish. Enforce your policies internally and let everything else go.

Published on: Nov 11, 2016
The opinions expressed here by Inc.com columnists are their own, not those of Inc.com.