from textwrap import dedent


def text_email_address(player):
    """Return the text for the email-address menu node."""
    text = dedent("""
        Enter a valid e-mail address for the account {}.

        An e-mail confirmation will be sent to this address with a
        four-digit code that you will have to enter to validate this
        account.  This e-mail address will be used only by the staff,
        if needed.  You will be able to update this e-mail address if
        desired.

        Enter your email address.
    """.strip("\n")).format(player.name)

    return text