Add SMTP support for trade emails

This commit is contained in:
Theodore Song
2026-07-26 14:13:34 -04:00
parent 86fa65f8f1
commit 018d1d9294
5 changed files with 103 additions and 10 deletions
+7 -1
View File
@@ -85,11 +85,17 @@ CUSTOMER_SUPPORT_EMAIL=
RISK_ADMIN_WALLET=
# Trade email alerts
# Use either Resend directly or a webhook from Zapier/Make/another email automation.
# Use Resend, SMTP, or a webhook from Zapier/Make/another email automation.
RESEND_API_KEY=
TRADE_EMAIL_FROM=Poly Arena <alerts@yourdomain.com>
TRADE_EMAIL_REPLY_TO=
TRADE_EMAIL_WEBHOOK_URL=
SMTP_HOST=
SMTP_PORT=
SMTP_SECURE=true
SMTP_USER=
SMTP_PASS=
SMTP_FROM=
# Agent chat
OPENAI_API_KEY=