You could solve this with just a couple of lines of gazpacho and .split, no regex required!
from gazpacho import Soup
html = """\
"""
soup = Soup(html)
string = soup.find("script").text
string.split(".val(\"")[-1].split("\");")[0]
Which would output:
'name@email.com'