def extract_email_datas(email_container):
    """Function to extract email infos, return a dictionary with the name of the header like
    key and the mail like value"""
    email_info = {}
    email = email_container.find_element_by_tag_name('a').get_attribute('href')
    email = email.split(':')[1]
    email_info['Email'] = email
    return email_info
