How to fix value is not a valid email address [type=value_error] in Python | DevErrors