Canon has some terrific deals on their refurbished site for M-series cameras (but not the M50). They have the EOS M5 with EF-M 15-45mm f/3.5-6.3 IS STM lens for $550. That's about half of what I paid when it launched a few years ago. The refurbished site, as far as I can tell, sells brand new stuff through a different sales channel with a like-new warranty. I've bought a half dozen cameras from Canon that way and wouldn't hesitate to do it again.
I like the entire M-series. That M5+lens combination is a terrific package. Here's one of my images from the San Rafael Swell in central-east Utah last month using some custom settings for in-camera B&W.