The Electoral College. Why?

“Why not rely on a popular vote, as almost every other democracy does? If a popular vote makes sense for gubernatorial elections, why doesn’t it make sense for presidential elections? What did the American founders have in mind when they erected this ostensible firewall against majority will?”