email encoding update