I have a simple SharePoint CSOM page that is used to pull the Current user and their Email. I'm hosting this page in a dedicated Site Collection which seems like overkill. It's essentially a redirect page and I'd like to host this page without the need for a Front End. ie, no Master Page or CSS or necessary javaScript loads.
Can CSOM code be hosted in, say, a HTML page if it's on the Server and loads sp.js? How could I run this code in the most minimalist way possible?