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'
This response confirms that you submitted a Medicaid SPA to CMS for review:
@@ -91,7 +90,7 @@ before {{ninetyDaysDate}}.
{{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: `
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:
State or territory: {{territory}}
Name: {{submitterName}}
-
Email: {{submitterEmail}}
-
1915(b) {{actionType}} Number: {{id}}
-
Waiver Authority: {{authority}}
+
Email Address: {{submitterEmail}}
+
{{actionType}} Number: {{id}}
+
Waiver Authority: {{authority}}
Proposed Effective Date: {{proposedEffectiveDateNice}}
Files:
{{formattedFileList}}
@@ -171,7 +169,8 @@ details by clicking on its ID number.
State or territory: {{territory}}
Name: {{submitterName}}
Email: {{submitterEmail}}
-1915(b) {{actionType}} Number: {{id}}
+{{actionType}} Number: {{id}}
+
Waiver Authority: {{authority}}
Proposed Effective Date: {{proposedEffectiveDateNice}}
@@ -195,7 +194,7 @@ Thank you!`,
State or territory: {{territory}}
Name: {{submitterName}}
Email Address: {{submitterEmail}}
-
1915(b) {{actionType}} Number: {{id}}
+
{{actionType}} Number: {{id}}
Waiver Authority: {{authority}}
Proposed Effective Date: {{proposedEffectiveDateNice}}
90th Day Deadline: {{ninetyDaysDate}}
@@ -211,7 +210,7 @@ before {{ninetyDaysDate}}.
If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov or your state lead.
+spa@cms.hhs.gov or your state lead.Thank you!
`, text: ` This response confirms the submission of your 1915(b) {{actionType}} to CMS for review: @@ -219,7 +218,7 @@ This response confirms the submission of your 1915(b) {{actionType}} to CMS for State or territory: {{territory}} Name: {{submitterName}} Email Address: {{submitterEmail}} -1915(b) {{actionType}} Number: {{id}} +{{actionType}} Number: {{id}} Waiver Authority: {{authority}} Proposed Effective Date: {{proposedEffectiveDateNice}} 90th Day Deadline: {{ninetyDaysDate}} @@ -237,7 +236,7 @@ responses to Requests for Additional Information (RAI) on Waivers, and extension requests on Waivers only. Any other correspondence will be disregarded If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov or your state lead. +spa@cms.hhs.gov or your state lead. Thank you!`, }, @@ -259,6 +258,21 @@ Summary:If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov.
Thank you!
`, +text: ` +he OneMAC Submission Portal received a request to withdraw the package below. +The package will no longer be considered for CMS review: + +State or territory: {{territory}} +Name: {{submitterName}} +Email: {{submitterEmail}} +{{actionType}} Number: {{id}} + +Summary: +{{additionalInformation}} + +If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov. + +Thank you!` }, { name: "withdraw-package-1915b-state", @@ -301,7 +315,6 @@ details by clicking on its ID number. Summary:
Files:
{{formattedFileList}}
@@ -358,11 +371,11 @@ Summary:
or your response to a SPA Request for Additional Information (RAI)). You can
expect a formal response to your submittal to be issued within 90 days,
before {{ninetyDaysDate}}.
This mailbox is for the submittal of State Plan Amendments and non-web -based responses to Requests for Additional Information (RAI) on submitted -SPAs only. Any other correspondence will be disregarded.
+This mailbox is for the submittal of State Plan Amendments and non-web based responses to + Requests for Additional Information (RAI) on submitted SPAs only. + Any other correspondence will be disregarded.
If you have questions, please contact -SPA@cms.hhs.gov.
+spa@cms.hhs.gov or your state lead.Thank you!
`, text: ` This response confirms you submitted a Medicaid SPA RAI Response to CMS for review: @@ -385,7 +398,7 @@ This mailbox is for the submittal of State Plan Amendments and non-web based responses to Requests for Additional Information (RAI) on submitted SPAs only. Any other correspondence will be disregarded. -If you have questions, please contact SPA@cms.hhs.gov. +If you have questions, please contact SPA@cms.hhs.gov or your state lead. Thank you!`, }, @@ -449,7 +462,7 @@ Summary:If you have questions or did not expect this email, please contact -spa@cms.hhs.gov. +spa@cms.hhs.gov or your state lead.
Thank you!
`, text: ` The OneMAC Submission Portal received a request to withdraw the Formal @@ -465,7 +478,7 @@ Summary: {{additionalInformation}} If you have questions or did not expect this email, please contact -spa@cms.hhs.gov. +spa@cms.hhs.gov or your state lead. Thank you!`, }, @@ -491,6 +504,26 @@ Summary: instead forward this email to SPAM@cms.hhs.gov.Thank you!
`, + text: ` +The OneMAC Submission Portal received a request to withdraw the Formal +RAI Response. You are receiving this email notification as the Formal RAI +for {{id}} was withdrawn by {{submitterName}} {{submitterEmail}}. + +State or territory: {{territory}} +Name: {{initialSubmitterName}} +Email Address: {{initialSubmitterEmail}} +Medicaid SPA Package ID: {{id}} + +Summary: +{{additionalInformation}} + +This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, +responses to Requests for Additional Information (RAI), and extension requests on Waivers only. +Any other correspondence will be disregarded. + +If you have any questions, please contact spa@cms.hhs.gov or your state lead. + +Thank you!` }, { name: "withdraw-rai-1915b-state", @@ -512,8 +545,28 @@ Summary: based responses to Requests for Additional Information (RAI) on submitted SPAs only. Any other correspondence will be disregarded.If you have questions, please contact -SPA@cms.hhs.gov.
+spa@cms.hhs.gov.Thank you!
`, + text: ` +The OneMAC Submission Portal received a request to withdraw the Formal +RAI Response. You are receiving this email notification as the Formal RAI +for {{id}} was withdrawn by {{submitterName}} {{submitterEmail}}. + +State or territory: {{territory}} +Name: {{initialSubmitterName}} +Email Address: {{initialSubmitterEmail}} +Medicaid SPA Package ID: {{id}} + +Summary: +{{additionalInformation}} + +This mailbox is for the submittal of State Plan Amendments and non-web +based responses to Requests for Additional Information (RAI) on submitted +SPAs only. Any other correspondence will be disregarded. + +If you have any questions, please contact spa@cms.hhs.gov or your state lead. + +Thank you!` }, { name: "withdraw-package-medicaid-spa-cms", @@ -556,14 +609,14 @@ Thank you!`,This email is to confirm Medicaid SPA {{id}} was withdrawn by {{submitterName}}. The review of Medicaid SPA {{id}} has concluded.
If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov.
+spa@cms.hhs.gov or your state lead.Thank you!
`, text: ` This email is to confirm Medicaid SPA {{id}} was withdrawn by {{submitterName}}. The review of Medicaid SPA {{id}} has concluded. -If you have questions or did not expect this email, please contact -SPA@cms.hhs.gov.
-Thank you!
`, +If you have questions or did not expect this email, please contact +SPA@cms.hhs.gov or your state lead. +Thank you!`, }, // CHIP SPA email template group @@ -647,7 +700,7 @@ Summary: at a later date.If you have questions or did not expect this email, please contact -CHIPSPASubmissionMailBox@CMS.HHS.gov.
+CHIPSPASubmissionMailBox@CMS.HHS.gov or your state lead.Thank you!
`, text: ` This is confirmation that you submitted a CHIP State Plan Amendment @@ -694,7 +747,6 @@ details by clicking on its ID number. Summary:
Files:
{{formattedFileList}}
@@ -932,7 +984,6 @@ details by clicking on its ID number.
Summary:
{{additionalInformation}}
-
Files:
{{formattedFileList}}
If the contents of this email seem suspicious, do not open them, and instead @@ -992,7 +1043,7 @@ responses to Requests for Additional Information (RAI) on Waivers, and extension requests on Waivers only. Any other correspondence will be disregarded.
If you have questions, please contact -CHIPSPASubmissionMailbox@cms.hhs.gov +spa@cms.hhs.gov or your state lead.
Thank you!
`, text: ` @@ -1017,43 +1068,10 @@ This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, responses to Requests for Additional Information (RAI) on Waivers, and extension requests on Waivers only. Any other correspondence will be disregarded. -If you have questions, please contact -CHIPSPASubmissionMailbox@cms.hhs.gov -or your state lead. +If you have questions, please contact CHIPSPASubmissionMailbox@cms.hhs.gov or your state lead. Thank you!`, }, - { - name: "new-submission-1915c-state", - subject: "Your 1915(c) {{id}} has been submitted to CMS", - html: ` -This response confirms the submission of your 1915(c) Waiver to CMS for review:
-
-
State or territory: {{territory}}
-
Name: {{submitterName}}
-
Email Address: {{submitterEmail}}
-
Waiver Amendment Number: {{id}}
-
Waiver Authority: 1915(c)
-
Proposed Effective Date: {{proposedEffectiveDateNice}}
-
90th Day Deadline: {{ninetyDaysDate}}
-
-This response confirms the receipt of your Waiver request or your response -to a Waiver Request for Additional Information (RAI). You can expect a formal -response to your submittal to be issued within 90 days, before {{ninetyDaysDate}}. -
--This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, -responses to Requests for Additional Information (RAI) on Waivers, and -extension requests on Waivers only. Any other correspondence will be disregarded. -
-If you have questions, please contact -SPA@cms.hhs.gov or your state lead.
-Thank you!
`, - text: "", - }, { name: "new-submission-1915c-cms", subject: "1915(c) {{id}} Submitted", @@ -1073,19 +1091,94 @@ details by clicking on its ID number.
Files:
{{formattedFileList}}
If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov.
Thank you!
`, - text: "", + text: ` +This response confirms the submission of your [insert Waiver Action] to CMS for review: + +State or territory: {{territory}} +Name: {{submitterName}} +Email Address: {{submitterEmail}} +Amendment Title: {{appkTitle}} +Waiver Amendment Number: {{id}} +Waiver Authority: 1915(c) +Proposed Effective Date: {{proposedEffectiveDateNice}} + +Summary: +{{additionalInformation}} + +Files: +{{formattedFileList}} + +If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@CMS.HHS.gov + +Thank you! +`, + }, + { + name: "new-submission-1915c-state", + subject: "Your 1915(c) {{id}} has been submitted to CMS", + html: ` +This response confirms the submission of your 1915(c) Waiver to CMS for review:
+
+
State or territory: {{territory}}
+
Name: {{submitterName}}
+
Email Address: {{submitterEmail}}
+
Initial Waiver Number: {{id}}
+
Waiver Authority: 1915(c)
+
Proposed Effective Date: {{proposedEffectiveDateNice}}
+
90th Day Deadline: {{ninetyDaysDate}}
+
+This response confirms the receipt of your Waiver request or your response +to a Waiver Request for Additional Information (RAI). You can expect a formal +response to your submittal to be issued within 90 days, before {{ninetyDaysDate}}. +
++This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, +responses to Requests for Additional Information (RAI) on Waivers, and +extension requests on Waivers only. Any other correspondence will be disregarded. +
+If you have questions, please contact +spa@cms.hhs.gov or your state lead.
+Thank you!
`, + text: ` +This response confirms the submission of your 1915(c) Waiver to CMS for review: + +State or territory:{{territory}} +Name: {{submitterName}} +Email Address: {{submitterEmail}} +Initial Waiver Number: {{id}} +Waiver Authority: 1915(c) +Proposed Effective Date: {{proposedEffectiveDateNice}} +90th Day Deadline: {{ninetyDaysDate}} + +Summary: +{{additionalInformation}} + +This response confirms the receipt of your Waiver request or your response +to a Waiver Request for Additional Information (RAI). You can expect a formal +response to your submittal to be issued within 90 days, before {{ninetyDaysDate}}. + +This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, +responses to Requests for Additional Information (RAI) on Waivers, and +extension requests on Waivers only. Any other correspondence will be disregarded. + +If you have questions, please contact SPA@cms.hhs.gov or your state lead. + +Thank you!`, }, { name: "withdraw-rai-1915c-cms", @@ -1108,7 +1201,25 @@ Summary:If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov.
Thank you!
`, - text: "", + text: ` +The OneMAC Submission Portal received a request to withdraw the Formal +RAI Response. You are receiving this email notification as the Formal RAI +for {{id}} was withdrawn by {{submitterName}} {{submitterEmail}}. + +State or territory: {{territory}} +Name: {{submitterName}} +Email Address: {{submitterEmail}} +Waiver Number: {{id}} + +Summary: +{{additionalInformation}} + +Files: +{{formattedFileList}} + +If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov. + +Thank you!`, }, { name: "temporary-extension-cms", @@ -1134,13 +1245,35 @@ details by clicking on its ID number. Summary:
Files:
{{formattedFileList}}
If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov.
Thank you!
`, - text: "", + text: ` +The Submission Portal received a {{authority}} Waiver Extension Submission: + +- The submission can be accessed in the OneMAC application, which you +can find at {{applicationEndpoint}}. +- If you are not already logged in, please click the "Login" link +at the top of the page and log in using your Enterprise User +Administration (EUA) credentials. +- fter you have logged in, you will be taken to the OneMAC application. +The submission will be listed on the dashboard page, and you can view its +details by clicking on its ID number. + +State or territory: {{territory}} +Name: {{submitterName}} +Email Address: {{submitterEmail}} +Temporary Extension Request Number: {{id}} +Temporary Extension Type: {{authority}} + +Files: +{{formattedFileList}} + +If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov. + +Thank you!`, }, { name: "temporary-extension-state", @@ -1155,7 +1288,7 @@ This response confirms you have submitted a {{authority}} Waiver Extension to CMIf you have questions or did not expect this email, please contact -SPA@cms.hhs.gov or your state lead.
+spa@cms.hhs.gov or your state lead.Thank you!
`, - text: "", + text: ` +This response confirms you have submitted a {{authority}} Waiver Extension to CMS for review: + +State or territory: {{territory}} +Name: {{submitterName}} +Email Address: {{submitterEmail}} +Temporary Extension Request Number: {{id}} +Temporary Extension Type: {{authority}} +90th day deadline: {{ninetyDaysDate}} +Summary: +{{additionalInformation}} + +This mailbox is for the submittal of Section 1915(b) and 1915(c) Waivers, responses to Requests for Additional Information (RAI), +and extension requests on Waivers only. Any other correspondence will be disregarded. + +If you have any questions, please contact spa@cms.hhs.gov or your state lead. + +Thank you!`, }, ];