fix email encoding