email login / templates moved to pgt/templates