Properly encode the email so that we don't get unicode errors