appended 'TEST' to email titles when on the test server environment

closes #341