SMTP failure not reported and too many login attempts on backlog clearing

There is such a setting. Search ‘disable email’.

See also Troubleshooting email on a new Discourse install - #362