Download multiple attachments with search condition (sent after specific date)
Downloads attachments only for emails sent after a specific date. Use Search='after:...' (or other Gmail search operators) in the WITH clause with SaveFolder and OverwriteFile.
SELECT *
FROM download_message_attachments
WITH(
Search='subject:(daily report for July-2024)',
SaveFolder='c:\temp',
OverwriteFile='True'
)