The 2FA used by Epic is through email so you should enable it, and it has stopped the emails for other users. You only need to enter it once for your PC, I have mine enabled and it’s been a few weeks since I had to use it, I believe it’s tied to IP.
Likely they use IP spoofing so it’s not the same IP trying to get in, but I’m not sure about that.
Hopefully Epic will find a way to eliminate this problem soon, but for now 2FA is your best option.