I am trying to create a script that will reach out and grab all attachments from unread mail in a shared mailbox. I have something half working at this point and have a hit a wall. It goes to the api and will download attachments on any unread messages but I can’t figure out how to mark them as read. Additionally I can’t figure out the move to folder part at the end :/
Any help at all would make me a very happy sys admin.