Write a Python function to parse and normalize unstructured text inputs before tokenization.
Implement def normalize_text(text): to return a normalized string. Convert Unicode variants and text to case-insensitive form, interpret escaped whitespace sequences such as \ and \\t, replace email addresses with <email> and HTTP(S) URLs with <url>, replace remaining punctuation with spaces, and collapse whitespace. Preserve Unicode word characters and the placeholder tokens.
def normalize_text(text):