start of email templating and forced medium trust