Gmail: Search Messages

Tìm kiếm hộp thư bằng cú pháp truy vấn của Gmail (vd 'is:unread from:boss@x.com newer_than:7d') và trả kết quả về dạng DataTable (messageId, threadId, from, to, subject, date, snippet).

GmailGmailSearchMessages

Công dụng

Tìm kiếm hộp thư bằng cú pháp truy vấn của Gmail (vd 'is:unread from:boss@x.com newer_than:7d') và trả kết quả về dạng DataTable (messageId, threadId, from, to, subject, date, snippet).

Search the mailbox with Gmail's query syntax (e.g. 'is:unread from:boss@x.com newer_than:7d') and return matches as a DataTable (messageId, threadId, from, to, subject, date, snippet).

Tham số

Tham sốKiểuBắt buộcMặc địnhMô tả
Connection namevariable
Bắt buộcgmailName of the connection created by 'Authorize Gmail'.
Search query (Gmail syntax)string
Tùy chọnSame syntax as the Gmail search box. Blank = all mail.
Ví dụ: is:unread from:boss@example.com newer_than:7d
Hỗ trợ biến
Label filter (optional)string
Tùy chọnOnly messages with these labels (names or ids, comma separated). e.g. INBOX, IMPORTANT, or a custom label name.
Ví dụ: INBOX
Hỗ trợ biến
Include spam & trashdropdown
No · Yes
Tùy chọnNo
Max messagesnumber
Tùy chọn50
Store DataTable invariable
Bắt buộcmessages

Các lệnh Gmail khác

Sẵn sàng tự động hóa việc bận rộn?

Bắt đầu dùng thử miễn phí 10 ngày hôm nay. Không cần thẻ, không ràng buộc.