Get message attachments
Returns a list of message attachments for messages matching the search. Use get_message_attachments with WITH(Search='...') to filter by subject, date, or other Gmail search criteria.
SELECT *
FROM get_message_attachments
WITH(
Search='subject:(daily report)'
)