changes in mail command

added spamReact function in session