Plasma disruptions can cause significant damage to tokamak. Currently, the primary method for mitigating disruptions is the injection of a substantial amount of impurities. The electromagnetic injection method offers a high injection speed and rapid response time, making it a promising technique for impurity injection. The first Electromagnetic Pellet Injection System (EMPI), developed by the J-TEXT team, is capable of launching pellets at high velocities and features a specialized deceleration rail that ensures safe separation of the armature and pellet. However, this system lacks an armature recovery device and a vacuum system. In this work, a second generation EMPI has been developed, which has a vacuum system and a curved recovery rail. The curved recovery rail facilitates the smooth retrieval of the armature, enhancing the safety of the recycling process. Additionally, this new system employs an augmented rail design that improves launch performance. Test results indicate that the maximum current of the new EMPI has been reduced by approximately 60%, while the maximum launch speed has increased by around 20%.