> guarantee at compile time
If you’re talking about runtime type checks rather than mypy, well, they’re just verbose static types with less safety. (May as well just embrace the duck typing at that point by accessing email.local_part and letting the AttributeError propagate.)
Is there no reason you could not create an Email class and have the method require its argument to be of that type?