Salesforce allows a limited number of 10 calls to the Messaging.sendEmail method per transaction. Any invocations of this method within a loop makes it likely to reach or exceed Apex governor limits.
Business Impact
Increased system downtime and inaccessibility, leading to decreased customer satisfaction and operational inefficiency.
Is your Salesforce solution affected by Use of sendEmail in loops?
Clayton detects anti-patterns and offers automated fix advice to kickstart your Well-Architected journey.