I would check out your local laws for ebikes like:
- any bike path (paved and unpaved) or sidewalk restrictions
- any local restrictions on max ebike power allowed
- special rule or regulations locally for class I & II compared to class III bikes
- public transportation restrictions/limitations/availability
I would also factor in:
- max range (can mean longer time between charges)
- power (for transporting extra weigh and leveling out hills)
- battery power upgrades, extra wattage and amps will mean longer range, longe time between charges, and more power for hills
- 4 season gear
- Tires can I upgrade from summer to studded winter tires
- night gear (lights, reflective clothing)
- security (able to store indoors at work or stuck outdoors in public in the weather)
- locks, cable, chains, U-bolts
- GPS monitoring (bluetooth and/or cellular)
- charging (home, work, and on the fly)
- weight (If you need to carry up several flights of stairs AND how much gear can you carry for commuting and shopping)
- footprint A folding bike might work better than a full size for storage
- accessories, how easily can I add storage like front rack, rear rack panniers, or tow the kid behind in a trailer, etc...
- back up plan if you can't complete your commute (flat tire, mechanical failure, weather, health, etc...)