def contains_variables(email):
    """Checks if an email contains any member variables.

    Args:
        email: The email to check.

    Returns:
        True if the email contains any member variables.
    """

    return "{{first}}" in email.text or "{{last}}" in email.text or "{{email}}" in email.text