Short answer: You can list emails with attachments in Gmail by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Gmail List Emails with Attachments action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Max Results maxResults | string | Optional | Max Results. e.g. "5" |
Search Query q | string | Optional | Search Query. e.g. "has:attachment from:someone@example.com" |
{"maxResults": "5","q": "has:attachment from:someone@example.com"}
{"messages": [{"id": "msg_123abc","payload": {"parts": [{"body": {"size": 500},"mimeType": "text/html"},{"body": {"size": 204800,"attachmentId": "ANGjdJ8xyz..."},"filename": "report.pdf","mimeType": "application/pdf"}],"headers": {"From": "alice@example.com","Subject": "Report"}},"snippet": "Please find the report attached","threadId": "thread_456def"}]}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.