encode email address

resolves issue #7