I’m trying to automate sending an email via Outlook from Python using win32com.client, but Outlook COM fails to start with “Server execution failed / Operation unavailable”.
The error occurs before any email object is created, so it’s not related to recipients, attachments, or message content.
Environment
Windows 11
Python 3.14
pywin32installedMicrosoft Outlook installed (New Outlook UI enabled; classic Outlook may also be present)
What I’ve already tried
Running the script from a
.pyfile (not Jupyter / notebook)Opening Outlook manually before running the script
Killing all
OUTLOOK.EXEprocesses and retryingUsing both
DispatchandDispatchExCalling
pythoncom.CoInitialize()Questions
Is Python 3.14 compatible with
pywin32and Outlook COM automation?Does the New Outlook app prevent
Outlook.ApplicationCOM automation even if classic Outlook is installed?Is this a known limitation or environment issue with recent Python versions?
Any guidance on whether this is a Python version issue, Outlook version issue, or a Windows/COM limitation would be appreciated.