set view variables for mail subject