Added email encoding.