testing var transfer with mailer in index