Verify mail attachement

Hi, i want to verify if my mail contains an attachement if not continue the process and check the following mails. There is a method or activitie for that?

Inside “get emails” check count ( or is it length ? ) on the attachments property.
So something like

item.attachments.length > 0

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.