Works on test server, filling in email template