Fixes #3358

Fixes #3358 of unnecessary csrf meta tags being rendered in html email's head