Teams – Incoming Email in SharePoint Online
Yes, the title is slightly confusing. There is now a way to set up incoming email on a library in SharePoint Online… sort of.
You need to do it through Microsoft Teams, so it will entail having an Office 365 Group + Teams. If you have an existing Group that you’d like to use, during the creation of a new Microsoft Team, it will let you pick an existing Group if you’d like. Or just create a brand new Team, which will inherently create a new Group anyway.
First, I’ll show you how to do it, then I’ll cover how to get there if you are new to Teams.
Open up Microsoft Team, expand a team, click the ellipsis on a channel in that team, and then click Get email address
Wow, that was so easy. You’ll see this:
Click that tiny little advanced settings and then you’ll be able to configure who is allowed to send to this address or not. The default is that anyone can send to this address.
The thing to keep in mind here, is that each of these Channels in Teams, is actually a folder in a single document library in the SharePoint site. Okay, let’s keep going, so what is the result when an incoming email arrives. I sent one from my Gmail account, and here’s what it looks like, in the Conversations tab in my Project A Channel. Notice that the subject is in bold and the body of the email is right under it. You can also click to view that actual original *.EML file.
What happens when there is an email attachment? It goes into the same folder as the EML files.
Here’s the breakdown of what’s going on in SharePoint. First, if you’d like an overview of Teams, here’s my other blog post.
To get to the SharePoint site that your MS Team is based on, go to the ellipsis next to any channel name, and choose Open in SharePoint
Here’s what you’ll notice in SharePoint. There’s that generic library called Documents, and each folder in that library represents a channel that you’ve created in Teams. So, in essence, what we’re doing is assigning different email addresses to each *folder* in a single document library.
In the previous example, I sent an email to the Project A channel, and then after that I sent another email, and added an attachment this time.
Here’s the library:
Here’s the Project A folder. Note that when I use the Files tab in my Team’s channel, those uploaded files go directly into this folder. Mine has one file, and since I have started sending emails to this Project A email address, now it’s got an Email Messages folder automatically:
What’s in Email Messages? Those are all of the EML files, plus all of the attachments. You can tell that the Word doc goes with the 3rd file in there, because they have the same unique string of characters at the end.
I can see that having incoming emails is useful, and always has been, except we’re going to need to be careful about messing with the file structure in SharePoint, because that will really confuse the MS Teams interface that is expecting those folders to stay intact.