I have been taking my bike to work for a couple of years, weather permitting, usually two or three days a week. I regular rode anytime the temps were above freezing. My trip is only about 2 miles (3.2km) one way, slightly downhill to work. If I push it really hard I can make the trip in 5 minutes, but then I am sweaty, ok on the way home, but not so much going to work. Usually I am just about 10 minutes one way. This sort of rules out running home for lunch on a 30 minute break. I was riding a Giant Escape, a mountain bike style, but with skinny road tires and higher gearing.
I bought a Rad City and took it to work, amazing, I did the trip in pedal assist 2 or 3 and it took 3 minutes, it was almost scary, but I am sure I will get used to it.
So far the only thing that has been an issue is the rear brake, you have to take the brake off the bike (becasue the hub motor is in the way) to adjust it and no matter what I do it is dragging a tiny bit and if I open it enough to not drag then I can't "lock up" the rear wheel. It could be becasue I am a nube with disk brakes. It does have 250w of regen, which is pretty cool.
The range won't be a problem at all, it has a throttle, maxes out just above 24 mph, pedal assist or throttle although just pedaling in 7th gear I hit 28, felt like a hamster pedaling so fast and couldn't keep that up for long. I could hit upper 30's on my other bike.
So far so good.
https://www.radpowerbikes.com/products/radcity-electric-commuter-bike