If the user already exists in the system (on another KB or it was added and deleted from the same KB), it won't receive the custom invitation email when added to a KB. It will receive the default one. If the user is completely new, it will receive the custom one. If the custom invitation is enabled, all users added to the KB, whether they are new or already existed, should receive the custom invite.