just to make it live and work on multiple processes i created two processes one to get message id of emails and other to take message id as input and read attachment …and in agent i am summarizing the details …so this is how it looks…
to showcase I just used a basic system prompt you can enhance it …but I hope this gives you a way to read the attachment
created two processes and added them via tools
it could identify the processes and then get message ids and for each id it did read the email and attachment and gave a summary
Hope this helps
cheers


