made the secret not be a global var. moved the mail handling to the game package.