You might just disable emails or just don’t configure your dev box to be able to send mail.
disable emails