@Threshold variable was not visible in mailer view