I'd recommend first figuring out where you'll store the bike and how often you'll actually ride it! An e-bike is really convenient when there are lots of hills or you need to get to the office without sweating through your shirt, but it's heavy, takes up space while charging, and the battery loses capacity over time. A friend of mine had a great model, but she lives in a fourth-floor apartment - so hauling it up and down the stairs became a nightmare! Plus in winter the battery just refuses to work properly.
A hybrid is honestly the sweet spot! It's lighter than an e-bike, more maneuverable than a regular road bike thanks to the tires and geometry, and you don't need an outlet every single day. I've been riding a hybrid for a while now, and I like that I speed up through my own effort instead of just procrastinating in traffic. If the distance to work is short (a couple kilometers max), a hybrid will handle it without any issues!
An e-bike only really makes sense if you barely pedal at all and you have a stable way to charge it. Also keep in mind that parts are expensive, and batteries last five years max - after that a replacement will cost you serious money! So try a hybrid first, see if you actually need electric assist, and then move on to the expensive toy if you really do!