Hello,
Here is what I want to achieve: I want to create a mail message in an Mailbox Folder (with an attachment), without actually sending it. The reason for which is I receive e-mails from clients with multiple attachments. We process them one at a time, some succeed, some fail.
With the failed ones, I’d like to create a single message with the attachment so our operators can take a look at the issue.
I can create an e-mail using the Send Mail activity and using the Is Draft property, it can be withheld from sending. I was hoping to get the message ID at that point, so I can move it to a folder in the mailbox for the attention of our staff. As the Send Mail activity uses the Create Message GraphAPI, which returns the message ID, I had hoped this would be part of the Send Mail activity.
Do I ditch the UiPath package and just make my own calls to Graph API or does some have a way to do this?
I’m going to be able to call the Get Mail on the Drafts folder and hope that it’s the latest one or I embed something in the e-mail when I create it that I can look for so I guarantee I get my message back. It all just feels a bit sloppy when the Graph API is sending that back during Create Message!
Any ideas? Is there another package I should use for just calling Create Message?
Thanks