The issue is not fixed (I’m using 2.7.24) and I have narrowed it down to emails where the body is not HTML. If the body is not HTML (ie it’s a plain text email) then the NotSupportedException still happens:
Under Raw View the plain text email is the first one. Notice it just shows as the datatype, but no details of the email. The second one is an HTML email and shows properly:
This is a debug display limitation, not a failure in retrieving emails. Access the required properties directly (like mail.Subject, mail.Body, mail.From.Address) inside a For Each loop instead of depending on Raw View expansion.
As a stable workaround, convert or enforce email body format handling by checking mail.BodyType and safely reading the body using conditional logic, or downgrade to the last stable working version if debug visibility is critical.