Made email rendering overridable