Files
open-webui/backend/open_webui
Classic298 e17db990af fix: parse .msg uploads via unstructured instead of extract_msg (#26704)
The .msg branch routed to langchain's OutlookMessageLoader, which requires the extract_msg package. extract_msg pins beautifulsoup4<4.14, but we pin unstructured==0.22.31 (needs beautifulsoup4>=4.14.3) and beautifulsoup4==4.14.3, so extract_msg can never be installed alongside the current dependency set. As a result the .msg path could not function on any supported install: uploads failed at runtime with an ImportError, and adding the missing package broke the build with an unsatisfiable resolver error.

Switch to UnstructuredEmailLoader, which parses .msg through unstructured's partition_msg (backed by python-oxmsg). Both are already shipped, so .msg uploads work with no new dependency and no version conflict. Attachment partitioning is disabled to preserve the previous body-only extraction behaviour.

Fixes #26690
2026-07-27 02:01:04 -04:00
..
2026-07-27 00:12:47 -04:00
2026-07-27 00:12:47 -04:00
2026-07-27 02:00:04 -04:00
2026-07-26 23:49:03 -04:00
2026-07-20 22:27:13 -04:00
2026-07-27 01:59:17 -04:00
2026-06-17 03:01:11 +02:00
2026-07-27 00:12:47 -04:00
2026-06-29 05:46:51 -05:00
2026-07-27 01:21:32 -04:00
2026-07-26 19:10:41 -04:00
2026-07-23 03:39:56 -04:00
2026-07-26 22:45:11 -04:00