fix variable definition problem in sendActivationEmail.js