>>> import base64 >>> email = "Z3JlZ0Bhc3NldG1hcHBpbmcuY29tCg==" >>> print(base64.b64decode(email).decode('utf-8'))