Skip to content

New email service: address regression formatting issues and implement feature flag #35175

Todo

Description

@vikas-gov

Capture and resolve email formatting issues identified through regression testing of the new email service in DEV. Include the feature flag work in this ticket

Proposed scope

- Update logo and header sizing. Heading text should be 24 pixels and body text should be 16 pixels.
image.png
image.png

  • Update the key value pairs to fix line breaks

Toll Free: 1-877-526-1526 Victoria Office: 250-387-7848 Email: BCRegistries@gov.bc.ca

instead of

Toll Free: 1-877-526-1526
Victoria Office: 250-387-7848
Email: BCRegistries@gov.bc.ca

Activity

  1. added
    Entities Team
    on Oct 9, 2026
  2. mstanton1 commented on Nov 9, 2026

    @mstanton1
    Collaborator

    Next steps - QA to list some of the email generating errors (HTML not rendering) and Melissa to reach out to SRE to confirm next steps.

  3. rsagpariya commented on Nov 9, 2026

    @rsagpariya
    Collaborator

    On TEST:

    • We are getting some emails in HTML format:
    • Screenshot 2026-11-09 092507.png
  4. mstanton1 commented on Nov 9, 2026

    @mstanton1
    Collaborator

    @bolyachevets @pwei1018 I believe this has been reported with QA for other products. Is this something that could be an issue with the new service? Are you able to assist with looking into why this HTML won't render? If so - what details should we provide you?

  5. added
    SRE
    on Nov 9, 2026
  6. pwei1018 commented on Nov 9, 2026

    @pwei1018
    Collaborator

    @mstanton1 The notify (BC) can't render some complicated HTML format emails. These email will send through the SMTP service (same as before). I applied a fix to the notify api. Can you please test again and verify it in all other emails? Thanks.

    image.png

  7. mstanton1 commented on Nov 9, 2026

    @mstanton1
    Collaborator

    @rsagpariya can you re-test the partner email above and identify any others that are failing so they can send through the SMPT server. @pwei1018 is there a need to simplify the HTML so all emails can eventually send through the new service?

  8. pwei1018 commented on Nov 9, 2026

    @pwei1018
    Collaborator

    @mstanton1 HTML-formatted emails cannot contain embedded images, and the email body must be limited to 50,000 characters or fewer. Here is the logic used by the Notify API to determine which email provider should handle each email request.

    image.png

  9. mstanton1 commented on Nov 19, 2026

    @mstanton1
    Collaborator

    No issues identified by QA. Formatting issues noted by design. @janisrogers can you please document the core formatting issues that you've encountered.

  10. janisrogers commented on Nov 19, 2026

    @janisrogers
    Collaborator

    The things I have noticed.

    • The logo is comically small and the heading text seems larger (heading text should be 24 pixels and body text should be 16 pixels)

    image.png

    image.png

    • The key value pairs have lost their line breaks and run across the page which makes them much harder to read.
      For example, the contact information appears as:

    Toll Free: 1-877-526-1526 Victoria Office: 250-387-7848 Email: BCRegistries@gov.bc.ca

    instead of

    Toll Free: 1-877-526-1526
    Victoria Office: 250-387-7848
    Email: BCRegistries@gov.bc.ca

  11. mstanton1 commented on Nov 25, 2026

    @mstanton1
    Collaborator

    @pwei1018 in the new service Janis noticed the UX issues above. Are there things that SRE would help us fix, or that we need to edit in our templates?

  12. pwei1018 commented on Nov 25, 2026

    @pwei1018
    Collaborator

    @mstanton1 If your team has the capacity, it would be better for your team to handle the changes. If not, we can help update all the templates. The only issue is that we won’t be able to fully test all of the changes.

  13. mstanton1 commented on Nov 25, 2026

    @mstanton1
    Collaborator

    Thanks @pwei1018 . We will review in refinement tomorrow, and pull in for our teams work. We can reach out if there are blockers.

  14. mstanton1 commented on Nov 26, 2026

    @mstanton1
    Collaborator

    Discussion from refinement is that this task needs conversation with SRE. The logo is applied on top of our template so should require their support. Line breaks are likely broken across all outputs so discussion is needed on whether every team needs to alter their approach for line breaks or there is a different larger fix.

    Based upon how these are fixed QA notes will be needed. E.g. if it's in a template it won't need full QA coverage.

  15. pwei1018 commented on Nov 27, 2026

    @pwei1018
    Collaborator
  16. self-assigned this
    on Nov 30, 2026
  17. mruff-aeq commented on Dec 4, 2026

    @mruff-aeq
    Collaborator

    Hey @pwei1018, a design review of the new email service (#35175) flagged two formatting items that look like Notify settings rather than template changes:

    1. Logo. Our markdown templates have no logo, so the "Ministry of Citizens' Services" logo must be coming from Notify (BC) branding for requestBy: BCRegistries@gov.bc.ca. Design says it renders way too small. Can we adjust the logo size in the branding?
    2. Font sizes. Design asked for 24px headings and 16px body text. Our templates use # for the email title and ## for section headings, and markdown cannot set sizes. Can the Notify stylesheet set those sizes, or can you tell us which heading level renders around 24px so we can switch our titles to it?

    Could you also confirm whether our emails go through Notify (BC) or GC Notify? That determines which branding we are dealing with.

    FYI, we fixed the line break issue on our end using markdown hard breaks (bcgov/lear#5027), so SRE doesn't need to look at that.

  18. pwei1018 commented on Dec 4, 2026

    @pwei1018
    Collaborator

    Hey @pwei1018, a design review of the new email service (#35175) flagged two formatting items that look like Notify settings rather than template changes:

    1. Logo. Our markdown templates have no logo, so the "Ministry of Citizens' Services" logo must be coming from Notify (BC) branding for requestBy: BCRegistries@gov.bc.ca. Design says it renders way too small. Can we adjust the logo size in the branding?
    2. Font sizes. Design asked for 24px headings and 16px body text. Our templates use # for the email title and ## for section headings, and markdown cannot set sizes. Can the Notify stylesheet set those sizes, or can you tell us which heading level renders around 24px so we can switch our titles to it?

    Could you also confirm whether our emails go through Notify (BC) or GC Notify? That determines which branding we are dealing with.

    FYI, we fixed the line break issue on our end using markdown hard breaks (bcgov/lear#5027), so SRE doesn't need to look at that.

    The logo is fixed and cannot be modified.

    If you need to adjust the font size, you can use HTML standard HTML formatting without using img tags.

    Example:

    "body": "<!DOCTYPE html><html lang='en'><head><title>Test</title></head><body><p><span style='font-size: 24px;'>large text</span> inside a <b>bold</b> sentence.</p><ul><li>Item One: <span style='font-size: 12px;'>Small text</span>.</li><li>Item Two: <span style='font-size: 18px;'>Medium text</span> with <i>italics</i>.</li></ul><blockquote>A Markdown blockquote with <span style='font-size: 28px;'>larger text</span></blockquote></body></html>",
    
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities TeamSREblocked

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions