diff --git a/src/services/email/libs/bundle-lib.js b/src/services/email/libs/bundle-lib.js index 5e32f2361..059952b2d 100644 --- a/src/services/email/libs/bundle-lib.js +++ b/src/services/email/libs/bundle-lib.js @@ -330,7 +330,7 @@ const getBundleFromEvent = (configKey, stage) => { "submitterName", "submitterEmail", "authority", - "title", + "appkTitle", "proposedEffectiveDateNice", "ninetyDaysDate", "additionalInformation", diff --git a/src/services/email/libs/data-lib.js b/src/services/email/libs/data-lib.js index 9e216312c..64509d931 100644 --- a/src/services/email/libs/data-lib.js +++ b/src/services/email/libs/data-lib.js @@ -116,7 +116,7 @@ export const buildEmailData = async (bundle, data) => { ? process.env[dataType] : `'${dataType} Substitute' `; break; - + default: returnObject[dataType] = data[dataType] ? data[dataType] diff --git a/src/services/email/ses-email-templates/index.js b/src/services/email/ses-email-templates/index.js index 6be38bc2a..6900973b8 100644 --- a/src/services/email/ses-email-templates/index.js +++ b/src/services/email/ses-email-templates/index.js @@ -29,7 +29,6 @@ details by clicking on its ID number. Summary:
{{additionalInformation}}
-


Files:
{{formattedFileList}}
@@ -69,7 +68,7 @@ Thank you!`, }, { name: "new-submission-medicaid-spa-state", - subject: "Your Medicaid SPA {{id}} has been submitted to CMS", + subject: "Your SPA {{id}} has been submitted to CMS", html: `

This response confirms that you submitted a Medicaid SPA to CMS for review:

@@ -91,7 +90,7 @@ before {{ninetyDaysDate}}.

responses to Requests for Additional Information (RAI) on submitted SPAs only. Any other correspondence will be disregarded.

If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov.

+spa@cms.hhs.gov.

Thank you!

`, text: ` This response confirms that you submitted a Medicaid SPA to CMS for review: @@ -116,7 +115,7 @@ responses to Requests for Additional Information (RAI) on submitted SPAs only. Any other correspondence will be disregarded. If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov. +spa@cms.hhs.gov. Thank you!`, }, @@ -124,7 +123,7 @@ Thank you!`, name: "new-submission-1915b-cms", subject: "{{authority}} {{id}} Submitted", html: ` -

The OneMAC Submission Portal received a 1915(b) {{actionType}} submission:

+

The OneMAC Submission Portal received a 1915(b) {{actionType}} Submission: