fix: add sender_email to UserSmtpConfig to fix SMTP From header (501 bad sender address)

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/dc853384-976a-46e5-945b-60c9a9cce638

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-03 21:46:47 +00:00
committed by GitHub
parent edb4e8b0cc
commit a21e2f7df6
9 changed files with 72 additions and 3 deletions
+1
View File
@@ -475,6 +475,7 @@ class UserSmtpConfig(Base):
username = Column(String(255), nullable=False, default="")
encrypted_password = Column(Text, nullable=False, default="")
use_tls = Column(Boolean, default=True)
sender_email = Column(String(255), nullable=False, default="")
created_at = Column(
DateTime(timezone=True),
+1
View File
@@ -481,6 +481,7 @@ class UserSmtpConfigBase(BaseModel):
host: str = "smtp.gmail.com"
port: int = Field(587, gt=0, lt=65536)
username: str = ""
sender_email: str = ""
use_tls: bool = True