added mailer in vote controller