fix missing endifs, only validate admin email when it is not pre-seeded in config