We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
add test for email sending after moderator was added to project


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `euth/projects/emails.py`
Content:
```
1 from euth.contrib.emails import OpinEmail
2 
3 
4 class ModeratorAddedEmail(OpinEmail):
5     template_name = 'notify_new_moderator'
6 
7     def get_recipients(self):
8         self.kwargs['user']
9
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/euth/projects/emails.py b/euth/projects/emails.py
--- a/euth/projects/emails.py
+++ b/euth/projects/emails.py
@@ -4,5 +4,5 @@
 class ModeratorAddedEmail(OpinEmail):
     template_name = 'notify_new_moderator'
 
-    def get_recipients(self):
-        self.kwargs['user']
+    def get_receivers(self):
+        return [self.kwargs['user']]

{"golden_diff": "diff --git a/euth/projects/emails.py b/euth/projects/emails.py\n--- a/euth/projects/emails.py\n+++ b/euth/projects/emails.py\n@@ -4,5 +4,5 @@\n class ModeratorAddedEmail(OpinEmail):\n     template_name = 'notify_new_moderator'\n \n-    def get_recipients(self):\n-        self.kwargs['user']\n+    def get_receivers(self):\n+        return [self.kwargs['user']]\n", "issue": "add test for email sending after moderator was added to project\n\n", "before_files": [{"content": "from euth.contrib.emails import OpinEmail\n\n\nclass ModeratorAddedEmail(OpinEmail):\n    template_name = 'notify_new_moderator'\n\n    def get_recipients(self):\n        self.kwargs['user']\n", "path": "euth/projects/emails.py"}], "after_files": [{"content": "from euth.contrib.emails import OpinEmail\n\n\nclass ModeratorAddedEmail(OpinEmail):\n    template_name = 'notify_new_moderator'\n\n    def get_receivers(self):\n        return [self.kwargs['user']]\n", "path": "euth/projects/emails.py"}]}