Is there a way to check if an email has an attachment, and just get the filename without downloading it? In PHP, imap_fetchstructure() downloads the attachment to check it. Can this be done in PHP or Python?