feat(04-03): select memory, log, and SMTP mail drivers from config

- Load mail.* and SUMMER_MAIL__ overrides to pick memory, log, or smtp
- Log headers and text without credentials; SMTP uses explicit TLS and go-mail
- Reject CR/LF headers and invalid addresses and surface driver errors once

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-09-18 14:02:23 +02:00
parent 1e515971c9
commit 1b7245661d
6 changed files with 519 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
driver: memory
from: Hello <hello@example.test>
smtp:
host: 127.0.0.1
port: 1025
username: ""
password: ""
tls: none
timeout: 10s