Skip to content

Commit 4e41497

Browse files
authored
fix(gmail): expose messageId field in read email block (#2943)
1 parent 9a8b591 commit 4e41497

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

apps/sim/blocks/blocks/gmail.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,9 @@ Return ONLY the email body - no explanations, no extra text.`,
242242
id: 'messageId',
243243
title: 'Message ID',
244244
type: 'short-input',
245-
placeholder: 'Enter message ID to read (optional)',
246-
condition: {
247-
field: 'operation',
248-
value: 'read_gmail',
249-
and: {
250-
field: 'folder',
251-
value: '',
252-
},
253-
},
245+
placeholder: 'Read specific email by ID (overrides label/folder)',
246+
condition: { field: 'operation', value: 'read_gmail' },
247+
mode: 'advanced',
254248
},
255249
// Search Fields
256250
{

0 commit comments

Comments
 (0)