diff --git a/app/assets/javascripts/admin/templates/group.hbs b/app/assets/javascripts/admin/templates/group.hbs
index 39251a39e1c..1e7a90828c3 100644
--- a/app/assets/javascripts/admin/templates/group.hbs
+++ b/app/assets/javascripts/admin/templates/group.hbs
@@ -94,10 +94,9 @@
{{#if siteSettings.email_in}}
- {{#plugin-outlet "group-email-in"}}
{{text-field name="incoming_email" value=model.incoming_email placeholderKey="admin.groups.incoming_email_placeholder"}}
- {{/plugin-outlet}}
+ {{plugin-outlet "group-email-in"}}
{{/if}}
{{/unless}}
diff --git a/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs b/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs
index cfe6553153d..1a9c68c6b25 100644
--- a/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs
+++ b/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs
@@ -20,7 +20,6 @@
{{#if emailInEnabled}}
- {{#plugin-outlet "category-email-in"}}
- {{/plugin-outlet}}
+
+ {{plugin-outlet "category-email-in"}}
{{/if}}
{{#if showPositionInput}}