I want to check if any zip file attached with the mail or not. For that, I am looping my each unread mail and I want to check if attachment contains “.zip” or not . But not getting it. As I am not able to get it directly from the mail. I need to save it first. Is there any solution to check out directly in mails if it contains zip or not.