Currently in AEM we have option to use Oauth2 (CQ Mailer SMTP OAuth2 Provider) for email integration with SMTP server, along with SMTP(Day CQ mail service) can we have option to use the Oauth2 with Microsoft graph API
Use-case:
Due to security reasons some clients won't enable the SMTP authentication for the accounts as those accounts are shared within multiple brands and SMTP AUTH is also being deprecated by Microsoft. So thinking to use the Microsoft graph API for email integration it will use the same access token generated using the Oauth OOTB implementation.
Current/Experienced Behavior:
Oauth2 integration with SMTP
Improved/Expected Behavior:
One more option to have Oauth2 integration with Microsoft Graph API
Environment Details (AEM version/service pack, any other specifics if applicable):