You can just use `if email:` here, this check returns `False` for an empty string as well as `None`.