Improved the email module to accept unicode strings.