Set email variables, move tasks module init file, and add functions to nav.js