Fix code review issues: remove duplicate dependency, improve error handling, fix hardcoded credentials, improve encryption salt

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 12:55:26 +00:00
parent 78731566c9
commit bb535028cc
4 changed files with 34 additions and 13 deletions
+2 -2
View File
@@ -375,8 +375,8 @@ class MailProcessor:
finally:
try:
server.quit()
except:
pass
except Exception as e:
logger.warning(f"Error closing SMTP connection: {e}")
return await loop.run_in_executor(None, send_email)