Enabling Grafana Email Alerts Post-Microsoft Basic Authentication Deprecation

Grafana alert email notifications previously used a username and password for authentication. However, Microsoft has deprecated basic authentication, requiring OAuth for email services. Grafana does not natively support OAuth for SMTP, posing a challenge for integrating email notifications. How can this be resolved?