diff --git a/services/gmail/pod-gmail/src/gmail.ts b/services/gmail/pod-gmail/src/gmail.ts index afbfad079f..f4b82f7d64 100644 --- a/services/gmail/pod-gmail/src/gmail.ts +++ b/services/gmail/pod-gmail/src/gmail.ts @@ -237,7 +237,7 @@ export class GmailClient { await this.client.createDoc(setting.class.Integration, core.space.Workspace, { type: gmail.integrationType.Gmail, disabled: false, - value: this.socialId._id + value: this.email ?? this.socialId.value }) } } catch (err: any) {