Sending on behalf of a mailbox
A shared mailbox such as sales@ has its own signature, and switching the From
field in Outlook is what fetches it. Sigil can also name the colleague who
actually wrote the message, so what arrives reads “Jane Doe on behalf of Sales”
rather than just “Sales”.
One template covers both cases. You do not need a second template for the shared mailbox.
Everything on this page also holds for a Microsoft 365 Group or distribution list that people send as. What is particular to groups, including the one way of sending that Outlook keeps add-ins out of, is on sending as a Microsoft 365 Group.
Where the add-in runs in a shared mailbox
Section titled “Where the add-in runs in a shared mailbox”Before any of this matters, the add-in has to be running in the window somebody is typing in, and whether it is depends on how their Outlook holds the shared mailbox rather than on anything set up in Sigil. The rules are Microsoft’s and they differ by client.
| How the shared mailbox is open | Signature applied |
|---|---|
| Outlook on the web, in the same tab as the person’s own mailbox | Yes |
| New Outlook for Windows, mapped in automatically and left as a folder | Yes |
| Classic Outlook for Windows | Yes |
| Outlook for Mac | Yes, from manifest 1.4.0.0 |
| Outlook on the web, opened with Open another mailbox in its own tab | Yes, from manifest 1.4.0.0 |
| New Outlook for Windows, added by the person or promoted to a full account | Yes, from manifest 1.4.0.0 |
| Outlook for Android and iOS, where the shared mailbox is added as its own account | No |
The last four rows are the ones worth reading twice. Outlook only loads an add-in into those windows if the manifest declares support for shared folders, and Sigil’s manifest declares it from version 1.4.0.0. An organisation still on an older manifest gets no Sigil at all in those compose windows, however the add-in was deployed and however long it waited. Microsoft now steers administrators towards promoting a shared mailbox to a full account in new Outlook for Windows, so this is a common way to meet it.
If that describes what you are seeing and your organisation uploaded Sigil as a custom app, the fix is to update the custom app. A deployment from the Microsoft Marketplace is updated by Microsoft rather than by you. The portal tells you when your organisation is behind: see which manifest version you are on.
Deploy the add-in to the people, never to the shared mailbox. Microsoft’s own
guidance is that administrators should not deploy add-ins to a shared mailbox,
and an add-in deployed to somebody’s own mailbox follows them into every shared
mailbox they open, subject to the table above. Adding sales@ itself to the
deployment group is not a fix for a missing signature, and neither is waiting
longer.
Mobile is a flat no, and not Sigil’s decision. Microsoft does not support shared mailbox scenarios for add-ins on Android or iOS at all, so a shared mailbox added as its own account on a phone gets no signature from any add-in. The person’s own account on the same phone is unaffected.
Who the add-in signs in as inside a promoted mailbox
Section titled “Who the add-in signs in as inside a promoted mailbox”With the mailbox held as an account of its own, Outlook reports the mailbox’s address as the signed-in user. Sigil does not take it at face value: it authenticates as whoever the client is actually signed in as, which is the person, and treats the mailbox as the mailbox. So the split described below still holds, and “Jane Doe on behalf of Sales” still renders with Jane’s name in it.
This matters because a shared mailbox is never meant to be signed into with a password, which is Microsoft’s position as well as ours. Nothing in Sigil ever asks anybody to.
It also settles what happens on a shared computer. The copy of the last signature a device keeps records who it was fetched for, not just which address it was for. The add-in puts the kept copy in first and checks whose it is as soon as it knows who is signed in, which is a moment later. A copy fetched for somebody else is taken back out and a fresh signature is fetched in its place. So two colleagues taking turns at a reception desk do not end up sending each other’s “on behalf of” line, although the second may see the first one’s signature for an instant before it is replaced. The exception is a compose where the sign-in itself fails: nothing can be checked, and the kept copy stays.
Sending from a shared mailbox
Section titled “Sending from a shared mailbox”Nothing is set up in Sigil for this. The sender needs permission to send from the mailbox, granted in Microsoft 365, and the add-in has to be running in the compose window, which the table above decides.
- In Outlook, start a new message, a reply or a forward from your own mailbox.
- Change the From field to the shared mailbox’s address.
The add-in notices the change and applies the signature for that mailbox, replacing the one already in the message. Nothing else has to be pressed.
The two identities
Section titled “The two identities”Every compose request carries a mailbox and a person. The From address says which mailbox the message leaves from; the add-in’s token says who is signed in. On an ordinary send they name the same account, and on a shared or delegated mailbox they do not. Everything on this page is about that gap. See how it works.
The mailbox is the one that decides almost everything:
| Decision | Made from |
|---|---|
| Which template applies | The mailbox. Assignment rules match its own directory record, so a delegate’s department cannot route the shared mailbox somewhere else |
| Every ordinary placeholder | The mailbox. {{displayName}} from sales@ is “Sales” |
| Profile fields | Either, and you choose per placeholder. {{custom.…}} is whatever was filled in for sales@; {{sender.custom.…}} is what the delegate filled in for themselves |
| The sender fields | The person who pressed Send |
The sender fields cover the person’s whole directory record: names, role and company, their own email and phones, their address and office, their manager, and their extension attributes. Which one fills each slot is the template’s choice, made placeholder by placeholder, which is what the Mailbox and Sender tabs of the designer’s field menu are for. Only the profile photo and the contact card link have no sender form, because both are worked out once, for the mailbox.
That choice matters most for a generic mailbox. A shared sales@ with an office
address of its own can print it, while admin@ with nothing on record needs the
sender’s, or its messages carry no address at all.
Signing in is always the person’s own act. The add-in authenticates as whoever is
signed in to Outlook, never as the mailbox they are sending from, so a shared
mailbox needs no sign-in and no licence of its own to get a signature. Nothing
has to be done to sales@ for a delegate’s message to be signed.
The sender placeholders
Section titled “The sender placeholders”A set of placeholders describes the person rather than the mailbox. Each is an
ordinary field name with sender. in front of it: their names, role and company,
their employee number and type, their email address, phone and fax numbers, their
address and office, their manager, and their fifteen extension attributes. They are listed in full on
placeholders.
The names are what “Jane Doe on behalf of Sales” needs, and are what this started as. The rest exists for what a name does not cover. An organisation whose staff carry a personal licence or registration number has to print the sender’s, and a generic shared mailbox with no address or phone of its own has nothing else to print.
A label or separator beside a sender field has a rule of its own, and it may still test the mailbox’s field. See labels on a shared mailbox’s signature.
Your own profile fields join them. A field you defined
as pronouns is available both as {{custom.pronouns}}, the mailbox’s answer,
and as {{sender.custom.pronouns}}, the answer given by whoever pressed Send.
The second is almost always the one a shared mailbox wants: a line that names a
person should carry that person’s pronouns, not an answer filled in against
sales@.
One difference in timing follows from the choice. A saved answer normally
reaches the next message composed, but that holds only where the template or
its footer uses a plain {{custom.…}} placeholder somewhere. A template whose
only profile placeholders are the {{sender.custom.…}} form keeps serving the
signature it already built, so a newly saved answer can take up to an hour, and
then one further compose, to appear.
When nobody else is sending, every one of them resolves to the mailbox’s own value. That fallback is what lets one line serve a personal mailbox and a shared one:
Kind regards, {{sender.firstName}} {{sender.lastName}}{{#onBehalfOf}} on behalf of {{displayName}}{{/onBehalfOf}}Sent from sales@ by Jane Doe, that renders “Kind regards, Jane Doe on behalf of
Sales”. Sent from Jane’s own mailbox, the same line renders “Kind regards, Jane
Doe” and the clause closes.
{{onBehalfOf}} is the switch. It answers whether anybody else is sending at
all, which no sender field can tell you, since each of those falls back to the
mailbox’s own value. That is why it exists rather than leaving you to compare a
name against an address.
Building it
Section titled “Building it”In the drag-and-drop designer, you do not type any of that. The field menu has a Sender segment holding all of them, and whole blocks, single field chips or individual social icons can be put behind the “Sent on behalf of the mailbox” condition. See lines that appear only on a shared mailbox send.
In the HTML editor, write the tokens and the conditional section as above.
Both are also available in a compliance footer, which is rendered with the same values as the template.
What counts as sending on behalf
Section titled “What counts as sending on behalf”Sigil compares the signed-in person against every address the mailbox owns, not
just the one in the From field. So sending from an alias of your own mailbox is
not a delegation: if your account is jane.doe@ and you send from jane@, the
addresses differ but the person does not, and your own alias never opens an “on
behalf of” clause.
The person is taken from the verified token rather than from anything the request asks for, so a signature cannot be made to claim somebody else wrote it.
None of this happens for a template that never mentions the sender. Sigil reads the published template first and only asks who is sending when the answer can change what it prints, so an organisation not using this costs nothing for it.
When the directory cannot answer
Section titled “When the directory cannot answer”Once somebody else is sending, their own values are printed as they stand. A delegate with no first name in the directory prints nothing there rather than borrowing the shared mailbox’s name, which would read as that person being called “Sales”.
Profile fields follow the same rule, and it is worth stating plainly because
these are answers people gave rather than attributes an administrator maintains.
Once a delegate is sending, {{sender.custom.…}} prints what that person
entered and nothing else. A delegate who left the field blank prints nothing,
rather than falling back to whatever was filled in for the shared mailbox. Sigil
never attributes one colleague’s answer to another.
If the directory is unreachable at the moment of composing, the message gets the signature the mailbox would have had anyway, with the clause closed. That is deliberate: the alternative is “Kind regards, on behalf of Sales”, and the template can live without the name more easily than the recipient can live with the gap.
Where the fields are filled in
Section titled “Where the fields are filled in”Only the add-in knows who is composing, so only the add-in’s request fills these in. A signature downloaded from the Templates view, a test email and a preview all render the mailbox sending for itself unless you tell the preview otherwise.
Telling the preview otherwise is a second address box in both editors, labelled
“sent by” in the HTML editor and “Sent by” in the designer. Put sales@ in the first box and a colleague in the second, and
you see what a delegate’s message will actually say, including whether the
condition opens. The named colleague’s own profile field
answers are loaded too, so {{sender.custom.…}} previews as truthfully as their
name does. Sample data in the first box works too. See
previewing a shared mailbox send.
Naming the mailbox itself, or one of its own addresses, does nothing visible, because nobody sends on their own behalf. That is the only test the preview makes. It does not check that the colleague you name has permission to send from the mailbox, so it shows the clause for anybody in your directory. An address that is not in your directory is refused with “No such sender”.
Shared mailboxes are unlicensed, so they are free, and so are group mailboxes. A colleague sending from one is already a billable seat in their own right, and sending on behalf of a mailbox does not add another. See billing.
