diff --git a/components/Bridge/Bridge.php b/components/Bridge/Bridge.php
new file mode 100644
index 0000000000..e65157b924
--- /dev/null
+++ b/components/Bridge/Bridge.php
@@ -0,0 +1,26 @@
+.
+// }}}
+
+namespace Component\Bridge;
+
+use App\Core\Module;
+
+class Bridge extends Module
+{
+}
diff --git a/modules/Bridge/Entity/ForeignLink.php b/components/Bridge/Entity/ForeignLink.php
similarity index 99%
rename from modules/Bridge/Entity/ForeignLink.php
rename to components/Bridge/Entity/ForeignLink.php
index 652813b8fe..4734f710cc 100644
--- a/modules/Bridge/Entity/ForeignLink.php
+++ b/components/Bridge/Entity/ForeignLink.php
@@ -17,7 +17,7 @@
// along with GNU social. If not, see .
// }}}
-namespace Module\Entity;
+namespace Component\Bridge\Entity;
use DateTimeInterface;
diff --git a/modules/Bridge/Entity/ForeignService.php b/components/Bridge/Entity/ForeignService.php
similarity index 99%
rename from modules/Bridge/Entity/ForeignService.php
rename to components/Bridge/Entity/ForeignService.php
index b81ff65720..7b4c47f02d 100644
--- a/modules/Bridge/Entity/ForeignService.php
+++ b/components/Bridge/Entity/ForeignService.php
@@ -17,7 +17,7 @@
// along with GNU social. If not, see .
// }}}
-namespace Module\Entity;
+namespace Component\Bridge\Entity;
use DateTimeInterface;
diff --git a/modules/Bridge/Entity/ForeignSubscription.php b/components/Bridge/Entity/ForeignSubscription.php
similarity index 99%
rename from modules/Bridge/Entity/ForeignSubscription.php
rename to components/Bridge/Entity/ForeignSubscription.php
index ec01106dc9..0e7af40ee9 100644
--- a/modules/Bridge/Entity/ForeignSubscription.php
+++ b/components/Bridge/Entity/ForeignSubscription.php
@@ -17,7 +17,7 @@
// along with GNU social. If not, see .
// }}}
-namespace Module\Entity;
+namespace Component\Bridge\Entity;
use DateTimeInterface;
diff --git a/modules/Bridge/Entity/ForeignUser.php b/components/Bridge/Entity/ForeignUser.php
similarity index 99%
rename from modules/Bridge/Entity/ForeignUser.php
rename to components/Bridge/Entity/ForeignUser.php
index 5f32fa18d5..857e19854a 100644
--- a/modules/Bridge/Entity/ForeignUser.php
+++ b/components/Bridge/Entity/ForeignUser.php
@@ -17,7 +17,7 @@
// along with GNU social. If not, see .
// }}}
-namespace Module\Entity;
+namespace Component\Bridge\Entity;
use DateTimeInterface;
diff --git a/components/Email/Email.php b/components/Email/Email.php
new file mode 100644
index 0000000000..2852e7ffa4
--- /dev/null
+++ b/components/Email/Email.php
@@ -0,0 +1,43 @@
+.
+
+// }}}
+
+/**
+ * Handle email notifications
+ *
+ * @package GNUsocial
+ * @category Component
+ *
+ * @author Hugo Sales
+ * @copyright 2020 Free Software Foundation, Inc http://www.fsf.org
+ * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
+ */
+
+namespace Component\Email;
+
+use App\Core\Module;
+
+class Email extends Module
+{
+ public function onAddNotificationTransport($form_defs)
+ {
+ $form_defs['email'] = $form_defs['placeholder'];
+ }
+}
diff --git a/config/services.yaml b/config/services.yaml
index 9ae4950028..4534e4f053 100644
--- a/config/services.yaml
+++ b/config/services.yaml
@@ -45,3 +45,11 @@ services:
tags: [messenger.message_handler]
Symfony\Bridge\Doctrine\Security\RememberMe\DoctrineTokenProvider: ~
+
+ Plugin\:
+ resource: '../plugins/*'
+ tags: ['controller.service_arguments']
+
+ Component\:
+ resource: '../components/*'
+ tags: ['controller.service_arguments']