All outgoing email has been globally disabled by an administrator

Try SiteSetting.disable_emails = 'no'.