From 77cbc5803ae025b65e65c973767c28002707f003 Mon Sep 17 00:00:00 2001
From: patrick-motsch
Date: Fri, 13 Feb 2026 17:12:04 +0100
Subject: [PATCH] fix: use poweron.swiss domain for system user email (Pydantic
rejects .local TLD)
Co-authored-by: Cursor
---
modules/features/teamsbot/routeFeatureTeamsbot.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/features/teamsbot/routeFeatureTeamsbot.py b/modules/features/teamsbot/routeFeatureTeamsbot.py
index 258c535c..19d495a5 100644
--- a/modules/features/teamsbot/routeFeatureTeamsbot.py
+++ b/modules/features/teamsbot/routeFeatureTeamsbot.py
@@ -365,7 +365,7 @@ async def bridgeStatusCallback(
try:
# Update session status (bridge callbacks have no user context)
from modules.datamodels.datamodelUam import User
- systemUser = User(id="system", username="system", email="p.motsch@poweron.swiss")
+ systemUser = User(id="system", username="system", email="system@poweron.swiss")
interface = interfaceDb.getInterface(systemUser, featureInstanceId=instanceId)
updates = {"status": status}
@@ -412,7 +412,7 @@ async def bridgeAudioWebsocket(
logger.info(f"Bridge audio WebSocket config loaded: session={sessionId}")
from modules.datamodels.datamodelUam import User
- systemUser = User(id="system", username="system", email="system@internal.local")
+ systemUser = User(id="system", username="system", email="system@poweron.swiss")
# Look up mandateId from the session record (needed for AI billing context)
sessionInterface = interfaceDb.getInterface(systemUser, featureInstanceId=instanceId)