It's pretty inexpensive to upgrade to hydraulics on your own anyhow so if that was the only difference holding you back then I think you made the right choice.
You can get a complete bolt on set (master/slave levers, pre-bled with fluid), the only trick is that you need something either made for ebikes(pricey) or modified with a cut off switches added. I got a modified Shimano set for $110 (+ some nominal customization fee since I needed a longer rear brake line) and it works great, although it did take a couple weeks to arrive.
If you are technical then you can save even more by buying a non ebike set but adding your own switches...?