Fix broken email encoding parsing fix

Closes #78