If I had an electric/motorized bike, I think it would cut the commute by about 15-20 minutes with most of the gain being on the trail. The perk of biking for me at least, is the exercise though.
An electric bike will be less exercise but it's not like it's no exercise. Sure on a flat surface you can go full electric but climbing hills can still give you a decent workout.