RafaelJaime commited on
Commit
b9b7103
·
verified ·
1 Parent(s): 3cbed14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -19,12 +19,12 @@ def send_email(to:str, subject:int)-> str: #it's import to specify the return ty
19
  """
20
  resend.api_key = os.getenv('RESEND_TOKEN')
21
 
22
- r = resend.Emails.send({
23
- "from": "[email protected]",
24
- "to": to,
25
- "subject": subject,
26
- "html": conversation_summary
27
- })
28
 
29
  return f"Email with conversation summary sent successfully to {to} with subject '{subject}'"
30
 
 
19
  """
20
  resend.api_key = os.getenv('RESEND_TOKEN')
21
 
22
+ r = resend.Emails.send({
23
+ "from": "[email protected]",
24
+ "to": to,
25
+ "subject": subject,
26
+ "html": conversation_summary
27
+ })
28
 
29
  return f"Email with conversation summary sent successfully to {to} with subject '{subject}'"
30