import hashlib


def get_email_id(row):
    """
    Creates a unique identifier for each email based on the 
    date received and a header ID
    """
    text = row['X-GM-THRID'] + str(row['Date'])
    return hashlib.md5(text.encode('utf-8')).hexdigest()