Email is being sent outbound without any SMTP configuration at all

Thanks for the follow-up @marcoalmeida.

You could also explore solving this by using direnv (available in Local 10.1.1 or higher). Your agent sessions should then use Local’s PHP as long as they run from the site root.