Mail sending
Four separate ways of sending email exist across the estate.
Recommendation
Complete the notifications migration so phenix-notifications-api delivers without the WCF pair, then retire mail-service and mailtemplate-service. This is one of the stage 2 binding-point cuts.
The family
| Repo | Role | Health | Entanglement | Note |
|---|---|---|---|---|
| mail-service | Retire | 54 · amber | kernel | Legacy WCF mail path; 21 dependents still route through it |
| mailtemplate-service | Retire | 57 · amber | kernel | Legacy WCF templating pair of mail-service; 18 dependents |
| phenix-notifications-api | Survivor | 79 · green | kernel | Built to replace the WCF pair but still delivers through the WCF client; complete the migration |
| tc-mail-sender | Review | 93 · green | loose | Separate SQS/S3 delivery path; fold into the notifications strategy |
Actions
Retire mail-service
Legacy WCF mail path; 21 dependents still route through it. Part of the Mail sending consolidation: Complete the notifications migration so phenix-notifications-api delivers without the WCF pair, then retire mail-service and mailtemplate-service. This is one of the stage 2 binding-point cuts.
Impact: A migration never paid for, a pipeline decommissioned and an attack surface removed
proposedRetire mailtemplate-service
Legacy WCF templating pair of mail-service; 18 dependents. Part of the Mail sending consolidation: Complete the notifications migration so phenix-notifications-api delivers without the WCF pair, then retire mail-service and mailtemplate-service. This is one of the stage 2 binding-point cuts.
Impact: A migration never paid for, a pipeline decommissioned and an attack surface removed
proposedComplete the notifications migration and retire mail-service
21 dependents still send mail through this WCF service. phenix-notifications-api was built to replace it; finish that migration.
Impact: Highest leverage in the programme: releases consumers without touching them
proposedComplete the notifications migration and retire mailtemplate-service
18 dependents; the WCF template half of the legacy mail pair.
Impact: Highest leverage in the programme: releases consumers without touching them
proposed