diff --git a/app/preview/TemplateParams.scala b/app/preview/TemplateParams.scala index 251905d29..134077a15 100644 --- a/app/preview/TemplateParams.scala +++ b/app/preview/TemplateParams.scala @@ -121,6 +121,14 @@ object TemplateParams { "applicationRef" -> "ABC123456", "applicationProcessingTime" -> "6 Weeks" ), + "agent_registration_application_ready_to_submit" -> Map( + "agentName" -> "Taylor Reed", + "applicationExpiryDate" -> "29 August 2026" + ), + "agent_registration_application_ready_to_submit_sole_trader_not_business_owner" -> Map( + "agentName" -> "Taylor Reed", + "applicationExpiryDate" -> "29 August 2026" + ), "agent_invitations_about_to_expire" -> Map( "agencyName" -> "My Tax Agency", "numberOfInvitations" -> "22", diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/AgentTemplates.scala b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/AgentTemplates.scala index 6fc9be806..7837bc606 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/AgentTemplates.scala +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/AgentTemplates.scala @@ -122,6 +122,24 @@ object AgentTemplates { htmlTemplate = html.agent_registration_application_submission_confirmation.f, priority = Some(MessagePriority.Urgent) ), + MessageTemplate.create( + templateId = "agent_registration_application_ready_to_submit", + fromAddress = FromAddress.noReply("HMRC Agent Services"), + service = Agent, + subject = "Your unfinished application for an agent services account", + plainTemplate = txt.agent_registration_application_ready_to_submit.f, + htmlTemplate = html.agent_registration_application_ready_to_submit.f, + priority = Some(MessagePriority.Urgent) + ), + MessageTemplate.create( + templateId = "agent_registration_application_ready_to_submit_sole_trader_not_business_owner", + fromAddress = FromAddress.noReply("HMRC Agent Services"), + service = Agent, + subject = "Your unfinished application for an agent services account", + plainTemplate = txt.agent_registration_application_ready_to_submit_sole_trader_not_business_owner.f, + htmlTemplate = html.agent_registration_application_ready_to_submit_sole_trader_not_business_owner.f, + priority = Some(MessagePriority.Urgent) + ), MessageTemplate.createWithDynamicSubject( templateId = "agent_services_subscription_complete", fromAddress = FromAddress.noReply("HMRC Agent Services"), diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.html new file mode 100644 index 000000000..490e5a74d --- /dev/null +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.html @@ -0,0 +1,45 @@ +@* + * Copyright 2026 HM Revenue & Customs + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *@ + +@(params: Map[String, Any]) + +@agentName() = {@params("agentName")} +@applicationExpiryDate() = {@params("applicationExpiryDate")} + +@uk.gov.hmrc.hmrcemailrenderer.templates.helpers.html.template_main(params, "Your unfinished application for an agent services account") { + +

Dear @agentName()

+ +

All the relevant individuals linked to your application have now provided their details.

+ +

You have until @applicationExpiryDate() to sign in and submit the application.

+ +

Sign in to your application

+ +
    +
  1. Go to GOV.UK and search for 'Apply for an agent services account'.
  2. +
  3. In the section 'How long this process takes', select the link to check the progress of an existing application.
  4. +
  5. Sign in with the agent details you used when you made the application.
  6. +
+ +

Why you are receiving this email

+ +

We send a confirmation email when it's time to submit your application for an agent services account.

+ +

Thank you

+

HMRC Agent Services

+ +} diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.txt b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.txt new file mode 100644 index 000000000..4e9346107 --- /dev/null +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit.scala.txt @@ -0,0 +1,21 @@ +@(params: Map[String, Any])Your unfinished application for an agent services account + +Dear @params("agentName") + +All the relevant individuals linked to your application have now provided their details. + +You have until @params("applicationExpiryDate") to sign in and submit the application. + +Sign in to your application + +1. Go to GOV.UK and search for 'Apply for an agent services account'. +2. In the section 'How long this process takes', select the link to check the progress of an existing application. +3. Sign in with the agent details you used when you made the application. + +Why you are receiving this email + +We send a confirmation email when it's time to submit your application for an agent services account. + +Thank you + +HMRC Agent Services diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.html new file mode 100644 index 000000000..77ef37446 --- /dev/null +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.html @@ -0,0 +1,45 @@ +@* + * Copyright 2026 HM Revenue & Customs + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *@ + +@(params: Map[String, Any]) + +@agentName() = {@params("agentName")} +@applicationExpiryDate() = {@params("applicationExpiryDate")} + +@uk.gov.hmrc.hmrcemailrenderer.templates.helpers.html.template_main(params, "Your unfinished application for an agent services account") { + +

Dear @agentName()

+ +

The business owner has now provided their details.

+ +

You have until @applicationExpiryDate() to sign in and submit the application.

+ +

Sign in to your application

+ +
    +
  1. Go to GOV.UK and search for 'Apply for an agent services account'.
  2. +
  3. In the section 'How long this process takes', select the link to check the progress of an existing application.
  4. +
  5. Sign in with the agent details you used when you made the application.
  6. +
+ +

Why you are receiving this email

+ +

We send a confirmation email when it's time to submit your application for an agent services account.

+ +

Thank you

+

HMRC Agent Services

+ +} diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.txt b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.txt new file mode 100644 index 000000000..65f8eeb2b --- /dev/null +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/agent/agent_registration_application_ready_to_submit_sole_trader_not_business_owner.scala.txt @@ -0,0 +1,21 @@ +@(params: Map[String, Any])Your unfinished application for an agent services account + +Dear @params("agentName") + +The business owner has now provided their details. + +You have until @params("applicationExpiryDate") to sign in and submit the application. + +Sign in to your application + +1. Go to GOV.UK and search for 'Apply for an agent services account'. +2. In the section 'How long this process takes', select the link to check the progress of an existing application. +3. Sign in with the agent details you used when you made the application. + +Why you are receiving this email + +We send a confirmation email when it's time to submit your application for an agent services account. + +Thank you + +HMRC Agent Services diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala index ae73a32dd..cf3365eb2 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala @@ -180,6 +180,8 @@ class TemplateLocatorSpec extends AnyWordSpecLike with should.Matchers with Opti "agent_registration_individual_non_fixable_failure", "agent_registration_success", "agent_registration_application_submission_confirmation", + "agent_registration_application_ready_to_submit", + "agent_registration_application_ready_to_submit_sole_trader_not_business_owner", "agent_rejects_mandate", "agent_removes_mandate", "agent_self_auth_activates_mandate",