Skip to content

✨ Refactor Email Configuration #1492

@zacharykeeping

Description

@zacharykeeping

Hi Developers,

Pain

Support email addresses and SMTP domains are hardcoded in configuration files and Bicep templates. This means support emails go to SSW instead of the tenant's company.

Suggested Solution

Update email configuration to read from TenantSettings so that support emails, sender addresses, and SMTP domains are tenant-specific.

Implementation:

  • Update UserServiceOptions to read from TenantSettings
  • Update email templates
  • Replace hardcoded addresses in Bicep

Tasks

  • Update UserServiceOptions to read from TenantSettings
  • Update DeleteProfileOptions recipient
  • Replace hardcoded email addresses in Bicep
  • Update email template sender information
  • Test email sending with tenant-specific addresses
  • Verify SMTP configuration works
  • Document email configuration requirements

Acceptance Criteria

More Information

Files to Modify:

  • src/WebAPI/appsettings.json
  • src/Infrastructure/Email/* templates
  • infra/modules/webapp.bicep

Dependencies: Phase 1 PBIs must be completed first

Epic: #1483

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions