checking set variables in email header/footer