How can we help?
How does EmailAnalytics attribute shared mailbox replies to individual agents? (Outlook)
For an overview of what EmailAnalytics reports for Outlook shared mailboxes, including per-agent replies and response times, see Outlook shared mailbox analytics.
When several people answer email from one Outlook shared mailbox, EmailAnalytics works out who sent each reply by finding that reply in the agent’s own Sent Items folder. It does not matter whether your agents have Send As or Send on Behalf permission. What matters is that each agent’s replies are saved to their own Sent Items, which Outlook does by default.
How does attribution work?
A reply sent from a shared mailbox usually carries the shared address, not the agent’s name. So EmailAnalytics identifies the agent by where the sent copy is saved.
When an agent replies from a shared mailbox, Outlook saves a copy of that reply in the agent’s own Sent Items folder. That copy is what identifies the sender. EmailAnalytics finds it, connects it to the email it answers in the shared mailbox, and credits the reply and its response time to that agent.
EmailAnalytics connects the two in one of two ways. It tries the exact match first.
| Exact match | Subject match | |
|---|---|---|
| Used when | The shared mailbox also keeps a copy of sent replies | The shared mailbox keeps no copy of sent replies |
| How it works | The copy in the shared mailbox and the copy in the agent’s Sent Items carry the same unique message ID. EmailAnalytics pairs them by that ID | EmailAnalytics matches the agent’s sent reply to the earlier email in the shared mailbox with the same subject line, ignoring prefixes such as RE: and FW: |
| Shown in EmailAnalytics as | Attributed — shared mailbox copy | Matched by subject |
| Setup needed on the shared mailbox | Sent-item copying turned on | None |
Both methods run automatically. You do not choose between them, and a single shared mailbox can show both.
Does it matter whether my shared mailbox uses Send As or Send on Behalf?
No. EmailAnalytics attributes replies the same way for both, and you do not need to change your permissions.
The two permissions differ in what your recipients see, not in how replies are attributed:
| Send As | Send on Behalf | |
|---|---|---|
| What the recipient sees | The shared mailbox only, for example “Support” | The agent and the mailbox, for example “Dana on behalf of Support” |
| Copy saved to the agent’s own Sent Items | Yes, by default | Yes, by default |
| Attributed to the agent in EmailAnalytics | Yes | Yes |
Two things do affect attribution, and neither is the permission type:
- Whether the reply is saved to the agent’s own Sent Items. This is required. Without that copy, nothing connects the reply to a person.
- Whether the shared mailbox also keeps a copy of sent replies. This is optional. It decides whether EmailAnalytics uses the exact match or the subject match.
If some agents have Send As and others have Send on Behalf on the same mailbox, that is fine too.
What do I need for attribution to work?
Three things are required. A fourth is recommended.
- Set up the Microsoft 365 integration and add the shared mailbox. Follow How do I track individual team member activity in a shared inbox / mailbox? (Outlook).
- Add each agent to EmailAnalytics and select them as a member of the shared mailbox. In EmailAnalytics, open Shared Mailbox, click Configure, click the gear icon beside the mailbox, and choose Manage Members.
- Make sure each agent’s replies are saved to their own Sent Items. Outlook does this by default. To check, have an agent send a test reply from the shared mailbox and look in their own Sent Items folder. If it is not there, see Why aren’t emails I send from a shared mailbox showing up in my own Sent Items? (Outlook).
- Recommended: turn on sent-item copying for the shared mailbox. This gives you the exact match and a complete count of email sent from the mailbox.
How to turn on sent-item copying
Your Microsoft 365 admin can do this in about a minute:
- Go to admin.microsoft.com and sign in.
- Open Teams & groups, then Shared mailboxes.
- Select the shared mailbox. Under Sent items, click Edit.
- Turn on both Copy items sent as this mailbox and Copy items sent on behalf of this mailbox, then save.
Or in Exchange Online PowerShell:
Set-Mailbox shared@yourcompany.com -MessageCopyForSentAsEnabled $true -MessageCopyForSendOnBehalfEnabled $true
Turn on both, whichever permission your agents use. Allow up to an hour for the change to take effect. It applies to new email only.
After you add a shared mailbox or change its members, give EmailAnalytics 30 to 60 minutes to sync and attribute replies, including historical ones.
Why does a reply show as Unattributed?
Unattributed means EmailAnalytics can see that a reply went out but cannot connect it to one of the mailbox’s members. These are the causes, most common first:
| Cause | Fix |
|---|---|
| The person who replied is not selected as a member of the shared mailbox in EmailAnalytics | Add them under Manage Members |
| The person who replied is not an EmailAnalytics user | Add them to your EmailAnalytics account, then select them as a member |
| The reply was not saved to the agent’s own Sent Items | Follow this troubleshooting guide. The usual cause is the shared mailbox being added to Outlook as a separate account |
| The reply was sent from Outlook on iOS | Outlook on iOS saves shared mailbox replies to the shared mailbox only. Use Outlook on the web or desktop where per-agent numbers matter |
| The agent changed the subject line, and the shared mailbox keeps no sent copy | Turn on sent-item copying so the exact match is used |
What do the numbers and labels mean?
| In EmailAnalytics | Meaning |
|---|---|
| Responses | Replies to email received in the shared mailbox, credited to the agent who sent them. This is the per-agent number to rely on |
| Sent | Email found in the shared mailbox’s own Sent Items. It reads zero if sent-item copying is off, even when agents are replying |
| Attributed to | The agent credited with the reply |
| Attributed — shared mailbox copy | The reply was matched by its unique message ID (exact match) |
| Matched by subject | The reply was matched by subject line and timing (subject match) |
| Unattributed | A reply that could not be connected to a member. See the table above |
Frequently asked questions
Do I have to change anything in Microsoft 365 for attribution to work?
Usually not. Attribution relies on each agent’s own Sent Items, which Outlook fills by default. Turning on sent-item copying for the shared mailbox is recommended, not required.
Should I switch from Send As to Send on Behalf, or the other way round?
No. Choose based on what you want recipients to see. Attribution is the same for both.
How accurate is the subject match?
It is reliable when agents reply in the normal way, without editing the subject line. If several emails with an identical subject arrive before anyone replies, the reply is credited against the first one. For the most precise results, turn on sent-item copying so the exact match is used.
What happens when two agents reply in the same thread?
Each reply is credited to the agent who sent it.
One agent’s numbers look far too low. What should I check?
Check that their replies are landing in their own Sent Items, and ask how much they reply from their phone. Both are covered in this troubleshooting guide.
Does this work for Gmail or Google Workspace?
Not yet. Per-agent attribution for shared mailboxes is available for Microsoft 365 (Outlook) only.