clicking on a request message causes notification email to be sent
Subject: clicking on a request message causes notification email to be sent
Description:
whenever I visit the hosting request message tab and click on the message to view it, the system sends me an email saying I have a request. (Request to jesse from Itsi)

Steps:
Clicked on the request message to view it

Results:
I shouldn't get an email notification every time I click on it...

Backend version: develop-2b68134b
Frontend version: develop-2b68134b
User Agent: Mozilla/5.0 (Android 11; Mobile; rv:86.0) Gecko/86.0 Firefox/86.0
Page: https://develop--frontend.preview.coucher.org/messages/hosting
User ID: 7
diff --git a/app/backend/src/couchers/servicers/requests.py b/app/backend/src/couchers/servicers/requests.py
index a84f160e2..b51037da9 100644
--- a/app/backend/src/couchers/servicers/requests.py
+++ b/app/backend/src/couchers/servicers/requests.py
@@ -115,6 +115,9 @@ class Requests(requests_pb2_grpc.RequestsServicer):
             host_request.status = HostRequestStatus.pending
             host_request.from_last_seen_message_id = message.id
             session.add(host_request)
+            session.flush()
+            
+            send_host_request_email(host_request)
 
             return requests_pb2.CreateHostRequestRes(host_request_id=host_request.conversation_id)
 
@@ -146,8 +149,6 @@ class Requests(requests_pb2_grpc.RequestsServicer):
                 .one()
             )
 
-            send_host_request_email(host_request)
-
             return requests_pb2.HostRequest(
                 host_request_id=host_request.conversation_id,
                 from_user_id=host_request.from_user_id,
['app/backend/src/couchers/servicers/requests.py']