Encode the email before sending to API

the add_query_arg() function doesn't encode the values

Fixed #10