def METHOD_NAME(record):
    try:
        a = models.Account(**record)
    except DataStructureException:
        return record
    a = _anonymise_email(a)
    a = _reset_api_key(a)
    a = _reset_password(a)
    return a.data