def METHOD_NAME(url=None):
    if url:
        with urlopen(url) as url:
            data = json.loads(url.read().decode())
            try:
                contact_infos = data['items'][0]['contact_infos']
                most_recent_email = max(contact_infos, key=lambda x: x['id'])
                email = most_recent_email['value']
            except (ValueError, IndexError, KeyError):
                email = None  # no saved emails
            try:
                fullname = data['items'][0]['full_name']
            except (ValueError, IndexError, KeyError):
                fullname = None
            try:
                user_data = {
                    'email': email,
                    'self_reported_role': data['items'][0]['self_reported_role'],
                    'faculty_status': data['items'][0]['faculty_status'],
                    'applications': data['items'][0]['applications'],
                    'fullname': fullname,
                    'uuid': data['items'][0]['uuid']
                }
            except IndexError:
                return False
            return user_data
    else:
        return {}