how to learn e4 openings and variations?

Not promoting, but chessly has good resources & the free stuff is great too. Helped me get back into chess. Do check it out.

The broad opening books/courses that cover an entire 1.e4 repertoire are only recommended if you're at a complete loss. There are many excellent ones. But it's a huge project to learn many openings at once.
I would recommend that you choose an opening you want to learn. You should do this based on your previous experience, what you encounter in your games, what your idols play, etc.
Thus, if you want to learn 1.e4 with the white pieces, you must first choose whether you want to learn to play against 1...c5 or 1...e5. Those are the primary answers. If your favourite opponent always beats you with French 1...e6 or Caro-Kann 1...c6 or the Scandinavian 1...d5, perhaps that's the opening you should focus on.
Once you've chosen, you can ask for more specific advice.

The “Keep It Simple With ___” series is probably the best starting place. Once you have those ‘simple’ variations down, maybe start to choose more difficult variations and ask for books about those specific variations.
If you need help, please contact our Help and Support team.