How To Choose An Electric Bike For Town And Trails?

I want to ride an ebike on rail trails, timber trails and around town. What should I look for?