initial commit for mailapp

began building auth libraries and views, as well as building custom
nginx server and libraries for email permissions