Hallo Community,
in my business case I want to create a list element every time a mail arrives in a shared mailbox. The list elements should contain a link to the original mail in the shared mailbox.
The URL to a mail in Outlook Online looks like this:
https://outlook.office.com/owa/?viewmodel=ReadMessageItem&ItemID=AAMkADVhZDZiMTE3LTIxNDctNDljYy1hOTUxLTQ5OTViYzAyZTE3ZQBGAAAAAAD%2FJNp3P%2BtaTaPKITsM2XGQBwB52h5ChXJpRK9bvJuZTbRMAAAAAAEMAAB52h5ChXJpRK9bvJuZTbRMAAADQZjTAAA%3D&wid=40&ispopout=1&path=
I crated the link with the message id, which I get from the flow.
https://outlook.office.com/owa/?viewmodel=ReadMessageItem&ItemID=[messageID]
The problem are the special characters:
In the URL stands %2F (“/”) and %2B (“+”).
Example:
https://outlook.office.com/owa/?viewmodel=ReadMessageItem&ItemID=AAMkADVhZDZiMTE3LTIxNDctNDljYy1hOTUxLTQ5OTViYzAyZTE3ZQBGAAAAAAD%2FJNp3P%2BtaTaPKITsM2XGQBwB52h5ChXJpRK9bvJuZTbRMAAAAAAEMAAB52h5ChXJpRK9bvJuZTbRMAAADQZjTAAA%3D&wid=40&ispopout=1&path=
In the flow the message ID contains “-” and “_” instead of the "/" and "+".
AAMkADVhZDZiMTE3LTIxNDctNDljYy1hOTUxLTQ5OTViYzAyZTE3ZQBGAAAAAAD-JNp3P_taTaPKITsM2XGQBwB52h5ChXJpRK9bvJuZTbRMAAAAAAEMAAB52h5ChXJpRK9bvJuZTbRMAAADQZjTAAA=
It is not possible to open the mail with the message id I get from the flow!
It is strange. It seems like it is an encoding problem.
I tested it with another flow for my own inbox and it worked because the message id does not contain any special characters.
Regards Anja