def METHOD_NAME(user_metadata, info, username, email):
    from allaccess.compat import get_user_model
    User = get_user_model()
    user_metadata.update({
        User.USERNAME_FIELD: email,
    })
    return user_metadata