0\d+ is octal in py3k
Decode email to byte string before MD5-ing.