Searching for Attachments

Mail with any attachment

  • Search bar: a:any.
  • Or Advanced > Attachments: Any attachment.

By attachment type

TypeSearch barAdvanced > Attachments
PDFa:pdfPDF
Worda:wordWord
Excel, also .ods, .csva:excelExcel
PowerPointa:powerpointPowerPoint
Imagesa:imageImage
ZIPa:zip-
  • a:word, a:excel, a:powerpoint, a:pdf, a:image match by file type and file extension.
  • Other values match part of the file type, e.g. a:zip.

By text inside attachments

  • The search bar also searches the text inside attachments. Nothing to switch on.
  • Covered: PDF, plain text, HTML, CSV, XML, JSON.
  • Not covered yet: Word, Excel and PowerPoint files, and scanned PDFs without a text layer.
  • To search the mail only, click Advanced and untick Include attachment contents in search.

Limits

  • File names of attachments are not searched. report.pdf finds nothing unless the words appear in the mail.

Download attachments

  1. Open the message.
  2. Click an attachment to download it, or Download All for all attachments as ZIP.