You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New email service: address regression formatting issues and implement feature flag #35175
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.
@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?
@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.
@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?
@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.
No issues identified by QA. Formatting issues noted by design. @janisrogers can you please document the core formatting issues that you've encountered.
The logo is comically small and the heading text seems larger (heading text should be 24 pixels and body text should be 16 pixels)
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:
@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.
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.
Hey @pwei1018, a design review of the new email service (#35175) flagged two formatting items that look like Notify settings rather than template changes:
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?
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.
Hey @pwei1018, a design review of the new email service (#35175) flagged two formatting items that look like Notify settings rather than template changes:
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?
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>",
Activity
mstanton1 commentedon Nov 9, 2026
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.
rsagpariya commentedon Nov 9, 2026
On TEST:
mstanton1 commentedon Nov 9, 2026
@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?
pwei1018 commentedon Nov 9, 2026
@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.
mstanton1 commentedon Nov 9, 2026
@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?
pwei1018 commentedon Nov 9, 2026
@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.
mstanton1 commentedon Nov 19, 2026
No issues identified by QA. Formatting issues noted by design. @janisrogers can you please document the core formatting issues that you've encountered.
janisrogers commentedon Nov 19, 2026
The things I have noticed.
For example, the contact information appears as:
instead of
mstanton1 commentedon Nov 25, 2026
@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?
pwei1018 commentedon Nov 25, 2026
@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.
mstanton1 commentedon Nov 25, 2026
Thanks @pwei1018 . We will review in refinement tomorrow, and pull in for our teams work. We can reach out if there are blockers.
mstanton1 commentedon Nov 26, 2026
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.
pwei1018 commentedon Nov 27, 2026
@mstanton1 Please refer to STRR templates: https://github.com/bcgov/STRR/tree/f1e5321924ff887d61307f9c4a86ca2e0f45622f/queue_services/strr-email/email-templates/common. They completed the QA in Test.
mruff-aeq commentedon Dec 4, 2026
Hey @pwei1018, a design review of the new email service (#35175) flagged two formatting items that look like Notify settings rather than template changes:
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.
pwei1018 commentedon Dec 4, 2026
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: