This project is not covered by Drupal’s security advisory policy.
Guides a council from a newly deployed LocalGov Mail site to staff triaging real email: ICT tests the platform, mailbox owners add their mailboxes and team managers take each one live.
Triage Onboarding is part of LocalGov Mail, an AI-assisted email triage service for UK councils that runs on Drupal and reads Microsoft 365 mailboxes. Once the platform is deployed, a council still has to check it works, connect mailboxes with the right governance details, write and approve rules, and bring staff in. This module turns that into three guided journeys, each screen a plain-English explanation beside a form, so ICT can set the platform up and hand it to customer services without a manual. It is a separate project so that sites using Triage Common and Triage Mail for other purposes do not need it, and uninstalling it leaves every other LocalGov Mail screen working.
Features
- Set up LocalGov Mail (for ICT). The first administrator sign-in goes straight to set-up; after that people can go anywhere, and a Set-up not finished flag on every admin page takes them back to the next step. The steps: a platform check (single sign-on, Exchange access, AI provider, queues, notification mailbox), a canary mailbox that Triage must not be able to open, a test mailbox created in Exchange, sample mail across the full topic list (a few messages really delivered, the rest placed in the Inbox and Sent Items), the mailbox assistant run against it to make practice rules, a live view of the results, invitations, and finally switching ICT to Microsoft sign-in and turning off password sign-in for the Drupal admin account.
- Set-up file. Everything above, plus real mailboxes and people, from one CSV file. Every row is checked first in a dry run, with filters and paging for councils with hundreds of mailboxes; nothing is created until the administrator confirms.
- Invitations. A
triage_invitationentity for mailbox owners, team managers, staff and the customer services lead, sent from the council's notification mailbox with four new templates. Invitations hold no message content, go only to council addresses and expire after 30 days. Accepting one is simply signing in with Microsoft, which applies the roles waiting for that person. - Mailbox owners add their own mailboxes. The owner types the shared mailboxes they want to use (most start with one). Each is checked straight away: the owner's own sign-in must open it in Exchange, and Triage must be able to reach it. Nothing is read, and no extra Microsoft Graph permission is needed. The owner then gives the governance details once and names a team manager.
- Get this mailbox ready (for team managers). A five-step checklist on each mailbox: run the mailbox assistant, send rules for approval, add the team, try a shadow run, go live. A step that is locked says why and who can unlock it.
- Roles. Adds the service manager role for the customer services lead and the mailbox owner role, with permissions to send invitations and administer onboarding.
- Nothing loosened. Exchange still decides who reads a mailbox, new mailboxes still need an Information Asset Owner, lawful basis and DPIA before they connect, and nothing is ever sent to residents.
Use this module if you are deploying LocalGov Mail for a council and want ICT and customer services to set it up and roll it out mailbox by mailbox without specialist help.
Post-Installation
- Install with Composer (
composer require drupal/triage_onboarding) and enable it withdrush en triage_onboarding. The LocalGov Mail recipe enables it for you. - Sign in as an administrator. You are taken to Set up LocalGov Mail at
/admin/triage/get-started. Choose the screens or the set-up file. - Before the test mailbox step, create an empty shared mailbox in Exchange and add it to the Triage mailboxes group. The screen gives the PowerShell to copy.
- Make sure the notification mailbox is configured (Triage Common), as invitations are sent from it.
- At the end, give your own work account the platform role, sign in with Microsoft to prove it works, and turn off password sign-in for the admin account.
drush triage:admin-password onturns it back on in an emergency and is logged.
Additional Requirements
- Drupal 11.3 or later.
- Triage Common, Triage Mail and Triage Fleet.
- OpenID Connect with Microsoft Entra ID, for staff sign-in.
- Microsoft 365 mailboxes connected through Microsoft Graph and an Exchange RBAC for Applications scope, as Triage Mail requires.
Recommended modules/libraries
- Triage Mail Assistant, used by the set-up and checklist steps that suggest topics and rules.
- Triage Governance, for the rule approval step.
- Triage Management, for the onboarding tracker across all mailboxes.
Similar projects
We know of no other Drupal module that onboards an organisation onto an email triage service. General set-up wizards guide site configuration; Triage Onboarding is specific to LocalGov Mail's mailboxes, governance and Exchange access model, and only works with LocalGov Mail.
Supporting this Module
Bug reports, feature requests and patches are welcome in the issue queue. Councils interested in using or funding LocalGov Mail are welcome to get in touch through the project maintainers.
Community Documentation
- The module's
README.mddescribes each journey, the set-up file columns and the invitation templates. - Related projects: Triage Common, Triage Mail, Triage Fleet, Triage Governance, Triage Mail Assistant, Triage Management.
Project status
Under active development on the 1.0.x branch. The first release covers the ICT set-up journey; the mailbox owner and team manager journeys and the set-up file follow.
Project information
- Project categories: Automation
- Ecosystem: Triage
- Created by david bishop on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
