To add to Johan answers, instead of sending an email from a a microflow directly it might be easier to log the error on critical level. Then let Mendix monitoring tools take care of the email.
You can use the “Set error handling” option when calling a microflow, create a microflow that will send an e-mail and connect that as the Error Handler flow. Using the $latestError variable, you can send also the stacktrace etc.