Skip to content

Commit 139497e

Browse files
authored
Merge branch 'EvolutionAPI:develop' into develop
2 parents e200ce6 + 2bbe2c9 commit 139497e

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Improve context management in agent execution
1414
- Add file support for A2A protocol (Agent-to-Agent) endpoints
1515
- Implement multimodal content processing in A2A messages
16+
- Add SMTP email provider support as alternative to SendGrid
1617

1718
## [0.0.9] - 2025-05-13
1819

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Authorization: Bearer your-token-jwt
331331
- **Uvicorn**: ASGI server
332332
- **Redis**: Cache and session management
333333
- **JWT**: Secure token authentication
334-
- **SendGrid**: Email service for notifications
334+
- **SendGrid/SMTP**: Email service for notifications (configurable)
335335
- **Jinja2**: Template engine for email rendering
336336
- **Bcrypt**: Password hashing and security
337337
- **LangGraph**: Framework for building stateful, multi-agent workflows
@@ -469,7 +469,9 @@ You'll also need the following accounts/API keys:
469469
- Python 3.10+
470470
- PostgreSQL
471471
- Redis
472-
- SendGrid Account (for email sending)
472+
- Email provider:
473+
- SendGrid Account (if using SendGrid email provider)
474+
- SMTP Server (if using SMTP email provider)
473475

474476
## 🔧 Installation
475477

@@ -566,11 +568,23 @@ JWT_SECRET_KEY="your-jwt-secret-key"
566568
JWT_ALGORITHM="HS256"
567569
JWT_EXPIRATION_TIME=30 # In seconds
568570

569-
# SendGrid for emails
571+
# Email provider configuration
572+
EMAIL_PROVIDER="sendgrid" # Options: "sendgrid" or "smtp"
573+
574+
# SendGrid (if EMAIL_PROVIDER=sendgrid)
570575
SENDGRID_API_KEY="your-sendgrid-api-key"
571576
EMAIL_FROM="noreply@yourdomain.com"
572577
APP_URL="https://yourdomain.com"
573578

579+
# SMTP (if EMAIL_PROVIDER=smtp)
580+
SMTP_FROM="noreply-smtp@yourdomain.com"
581+
SMTP_USER="your-smtp-username"
582+
SMTP_PASSWORD="your-smtp-password"
583+
SMTP_HOST="your-smtp-host"
584+
SMTP_PORT=587
585+
SMTP_USE_TLS=true
586+
SMTP_USE_SSL=false
587+
574588
# Encryption for API keys
575589
ENCRYPTION_KEY="your-encryption-key"
576590
```
@@ -787,8 +801,12 @@ The main environment variables used by the API container:
787801
- `POSTGRES_CONNECTION_STRING`: PostgreSQL connection string
788802
- `REDIS_HOST`: Redis host (use "redis" when running with Docker)
789803
- `JWT_SECRET_KEY`: Secret key for JWT token generation
790-
- `SENDGRID_API_KEY`: SendGrid API key for sending emails
791-
- `EMAIL_FROM`: Email used as sender
804+
- `EMAIL_PROVIDER`: Email provider to use ("sendgrid" or "smtp")
805+
- `SENDGRID_API_KEY`: SendGrid API key (if using SendGrid)
806+
- `EMAIL_FROM`: Email used as sender (for SendGrid)
807+
- `SMTP_FROM`: Email used as sender (for SMTP)
808+
- `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD`: SMTP server configuration
809+
- `SMTP_USE_TLS`, `SMTP_USE_SSL`: SMTP security settings
792810
- `APP_URL`: Base URL of the application
793811

794812
## 🔒 Secure API Key Management

0 commit comments

Comments
 (0)