auto mail generation

This commit is contained in:
2026-09-29 16:53:21 +05:30
parent b18080d429
commit b46902f51b
27 changed files with 2765 additions and 80 deletions

View File

@@ -74,6 +74,9 @@ type Config struct {
// Assistant is the model behind Nearle Buddy. Empty provider = no typed
// questions; the tools still work.
Assistant AssistantConfig
// Mail. Optional: a deployment without it still onboards tenants and reports
// the invitation as unsent.
Mail MailConfig
// POSTokenSecret signs terminal sessions. Falls back to JWTSecret when
// unset, matching utils/postoken.go.
@@ -357,6 +360,7 @@ func Load() (*Config, error) {
},
Assistant: AssistantFromEnv(),
Mail: MailFromEnv(),
POSTokenSecret: env("POS_TOKEN_SECRET", ""),
JWTSecret: env("JWT_SECRET_KEY", ""),