fix for email encoding