Gmail Search by Size with Google Apps Script

The following Google Apps Script will help you find all Gmail messages that have file attachments greater than 1 MB. Should be useful when you are running out of space in Gmail.

If you need one-on-one support with our Google Scripts and Google add-ons, please book an appointment.

Also see: Sort Gmail Messages by Size