Fractional operators with boundary points dependent kernels and integration by parts