Spaces:
Running

axeronis commited on
Commit
fc8cecc
·
1 Parent(s): 4906dec

Fix SyntaxError in email.py

Browse files
Files changed (1) hide show
  1. backend/app/services/email.py +1 -11
backend/app/services/email.py CHANGED
@@ -40,7 +40,7 @@ class EmailService:
40
  Returns:
41
  True if sent successfully, False otherwise
42
  """
43
- """
44
  if settings.RESEND_API_KEY:
45
  return await self._send_via_resend(to, subject, html_body, text_body)
46
 
@@ -163,16 +163,6 @@ class EmailService:
163
  ) -> bool:
164
  """
165
  Send notification about hot lead to manager.
166
-
167
- Args:
168
- manager_email: Manager's email address
169
- lead_name: Name of the lead
170
- lead_id: Lead ID
171
- heat_score: Lead heat score
172
- summary: AI summary dictionary
173
-
174
- Returns:
175
- True if sent successfully
176
  """
177
  subject = f"🔥 Hot Lead Alert: {lead_name} (Score: {heat_score})"
178
 
 
40
  Returns:
41
  True if sent successfully, False otherwise
42
  """
43
+
44
  if settings.RESEND_API_KEY:
45
  return await self._send_via_resend(to, subject, html_body, text_body)
46
 
 
163
  ) -> bool:
164
  """
165
  Send notification about hot lead to manager.
 
 
 
 
 
 
 
 
 
 
166
  """
167
  subject = f"🔥 Hot Lead Alert: {lead_name} (Score: {heat_score})"
168