0\d+ are octal numbers in py3k
Decode email to bytes for MD5