Error using python email module

Is there anything I can do about this one?

I can’t use Basic Python because I need some of the libraries in the Full environment.

I’m using the email module to get the details of the original sender. If there’s another way to do that, it might get me under way again.