diff --git a/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts b/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts index 81645908bc..924ad85c7b 100644 --- a/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts @@ -476,7 +476,7 @@ export class Gmail implements INodeType { if (qs.labelIds == '') { delete qs.labelIds; } else { - qs.labelIds = (qs.labelIds as string[]).join(','); + qs.labelIds = qs.labelIds as string[]; } }