mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-21 05:11:35 +03:00
cee050a2e4
# Description Issue: #1445 Epic: #1232 ## ⚠️ À rajouter en variables d'environnement ```env RESEND_CONTACT_SALES_FROM=contact_sales@resend.dev RESEND_CONTACT_SALES_TO=<change-me> ```
9 lines
218 B
Python
9 lines
218 B
Python
import resend
|
|
from typing import Dict
|
|
from models import ResendSettings
|
|
|
|
def send_email(params: Dict):
|
|
settings = ResendSettings()
|
|
resend.api_key = settings.resend_api_key
|
|
return resend.Emails.send(params)
|