That's cool - thanks @IanM!
I've installed Sentry after the update to Flarum 1.0 on the weekend, but once I enabled backend performance monitoring sending emails seems to be affected on my setup? Not sure if it's related to any specific extension in use.
The stacktrace (the first 1/3, as it's quite long) was:
[2021-07-01 17:55:05] flarum.ERROR: Exception: Error: Call to protected method FoF\Sentry\SentryServiceProvider::handleError() from scope Sentry\ErrorHandler in /vwr/www/flarum/vendor/sentry/sentry/src/ErrorHandler.php:303
Stack trace:
#0 /vwr/www/flarum/vendor/fof/pretty-mail/src/BladeCompiler.php(28) : eval()'d code(40): Sentry\ErrorHandler->handleError()
#1 /vwr/www/flarum/vendor/fof/pretty-mail/src/BladeCompiler.php(28): eval()
#2 /vwr/www/flarum/vendor/fof/pretty-mail/src/Mailer.php(74): FoF\PrettyMail\BladeCompiler::render()
#3 /vwr/www/flarum/vendor/flarum/core/src/Api/Controller/SendTestMailController.php(43): FoF\PrettyMail\Mailer->raw()
#4 /vwr/www/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\SendTestMailController->handle()
#5 /vwr/www/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#6 /vwr/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process()
#7 /vwr/www/flarum/vendor/reflar/recache/src/Middlewares/OptimizeImages.php(43): Laminas\Stratigility\Next->handle()
#8 /vwr/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Reflar\ReCache\Middlewares\OptimizeImages->process()
#9 /vwr/www/flarum/vendor/fof/sentry/src/Middleware/HandleErrorsWithSentry.php(39): Laminas\Stratigility\Next->handle()
#10 /vwr/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\Sentry\Middleware\HandleErrorsWithSentry->process()
#11 /vwr/www/flarum/vendor/kilowhat/flarum-ext-audit-free/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
#12 /vwr/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
#13 /vwr/www/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#14 /vwr/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process()