7417 workflows i can send emails using the email account (#7431)
- update `send-email.workflow-action.ts` so it send email via the google sdk - remove useless `workflow-action.email.ts` - add `send` authorization to google api scopes - update the front workflow email step form to provide a `connectedAccountId` from the available connected accounts - update the permissions of connected accounts: ask users to reconnect when selecting missing send permission 
This commit is contained in:
@ -54,11 +54,11 @@ export const SyncEmails = () => {
|
||||
? CalendarChannelVisibility.ShareEverything
|
||||
: CalendarChannelVisibility.Metadata;
|
||||
|
||||
await triggerGoogleApisOAuth(
|
||||
AppPath.Index,
|
||||
visibility,
|
||||
calendarChannelVisibility,
|
||||
);
|
||||
await triggerGoogleApisOAuth({
|
||||
redirectLocation: AppPath.Index,
|
||||
messageVisibility: visibility,
|
||||
calendarVisibility: calendarChannelVisibility,
|
||||
});
|
||||
};
|
||||
|
||||
const continueWithoutSync = async () => {
|
||||
|
||||
Reference in New Issue
Block a user