refresh oAuth tokens when sending email (#17250)

calls `connectedAccountRefreshTokensService` in `SendEmailTool`
resolving error `Lifetime validation failed, the token is expired.`
This commit is contained in:
neo773
2026-01-19 23:24:07 +05:30
committed by GitHub
parent 038f9cc44f
commit 527c00d326
2 changed files with 23 additions and 1 deletions
@@ -110,6 +110,7 @@ import { MessagingMonitoringModule } from 'src/modules/messaging/monitoring/mess
],
exports: [
MessagingSendMessageService,
MessagingAccountAuthenticationService,
MessagingMessageListFetchCronCommand,
MessagingMessagesImportCronCommand,
MessagingOngoingStaleCronCommand,