The original intent wasn't even that the president was democratically elected. In most states today the electoral college members aren't bound by law to vote for the winner of the state's general election. The original intent was that each state government sent their chosen electoral college members and then it was up to them to figure out who to vote for from that point onwards.