Sorry, I should have kept digging. I found an answer in the old PEP 594 thread which suggests using email.message.Message objects.
Edit: link here in case anyone else gets stumped like I was… PEP 594: Removing dead batteries from the standard library - #14 by mjpieters