Forum Discussion
MausLyon
Dec 18, 2019Copper Contributor
naming convention in saved email sent to teams channels
when I send an email to a specific channel, TEAMS saves the email and each attachment (individually) as files in the "Email Messages " directory on SharePoint. As far as I can see the name of the s...
Dec 19, 2019
Na. Because the email is outside your tenant you can not access it with flow.
However you could put a when a file is added in a folder SharePoint trigger that points to the email message folder. Then you can act on and rename the files as they come in to SharePoint.
The problem might be though when the flow renames the file if it will break the posted message file links. You could test by manually renaming the files and then going to the message in the channel and testing the links.
However you could put a when a file is added in a folder SharePoint trigger that points to the email message folder. Then you can act on and rename the files as they come in to SharePoint.
The problem might be though when the flow renames the file if it will break the posted message file links. You could test by manually renaming the files and then going to the message in the channel and testing the links.
- MausLyonDec 19, 2019Copper Contributor
Thanks for the reply, I tried to manually rename both the email and the attachments and no link was broken. I assume that the connections are implemented using some sort of internal pointer rather than the file name. So yes your solution seems to work, I'll get a flow that, when a file is added to my email folder, it will rename it accordingly and it should work fine
M