Shared mail: company senders for email to outside addresses
Describes Inbox 0.5.0.
Shared mail is a company sender, such as “Nordwind”, that people use to send email to addresses outside the site from their personal mailbox. Nobody reads mail through it here: it only sends.
Where to find it
In the admin sidebar, open Settings, then Mail (/admin/settings/inbox). The Manage shared mail button on your Mail settings page leads here too. You need the Manage shared mailboxes permission. Without it the page says Shared mail is managed by holders of “Manage shared mailboxes”. with a link to Your mail settings.
A shared sender needs a system mail connection (an integration that can send email and has a login address) set up first.
Shared senders: company mail connections people can send from.
The list
Each sender shows its name, its From address, Shown as “…” when it has a display name, and who may use it:
- Roles: …: the roles ticked.
- Owner only: no role is ticked.
- Through the shared mailbox “…”: a sender tied to a shared mailbox by a developer. Everyone who can write from that mailbox uses it there.
A sender whose mail connection stopped working carries a Broken badge and a line saying what’s wrong. With no senders the card says No senders yet.
The buttons on each sender:
- Edit: opens its form.
- Check: asks the mail connection again whether it works and updates the Broken mark.
- Delete: asks Delete this sender? and removes it.
Adding or changing a sender
Add shared mail opens the form. If there’s no usable connection, the page says There is no mail connection with a login address to send from yet.
- Name: what people see under Send as in compose.
- Name shown to recipients: the name in the From line. People send as “their name | this name”.
- Mail connection (its login is the From address): the system connection that sends. The From address is its login; you don’t type it. When you edit a sender whose connection doesn’t work now, the menu offers Keep the current connection (it does not work now).
- Who may send from it: tick the roles. Owner — always can use every sender. A new sender starts with the roles that already have the Send to external addresses permission ticked. A role without that permission says so next to its name, because ticking it isn’t enough.
- Put the sender’s own name into the From name: only when editing a sender tied to a shared mailbox.
Save stores it with Sender saved.
Who can actually send with it
To send from a shared sender, a person needs all of these:
- the Send to external addresses permission;
- one of the ticked roles in effect (the Owner always qualifies);
- sending to outside addresses turned on for the site.
The roles are read again on every send, so unticking a role stops mail that hasn’t gone yet.
What it doesn’t do
- It doesn’t receive mail or keep an inbox for the sender.
- It doesn’t create mail connections; those come from Integrations.
- It doesn’t tie a sender to a shared mailbox: that is done by a developer.
- It doesn’t turn on outside mail for the site, or the “you have a new message” email nudge. Both are set by a developer.
For developers
Outside mail is off until you turn it on and set an outbound filter:
PhoenixKitInbox.set_external_enabled(true)
config :phoenix_kit_inbox, outbound_filter: {MyApp.Inbox, :outbound} # or :none
The new-message email nudge needs PhoenixKitInbox.set_email_nudges(true) and a shared sender set with PhoenixKitInbox.set_nudge_identity(scope, identity_uuid).