Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions app/preview/TemplateParams.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
@@ -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") {

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">Dear @agentName()</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">All the relevant individuals linked to your application have now provided their details.</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">You have until @applicationExpiryDate() to sign in and submit the application.</p>

<h2 style="font-size: 24px; line-height: 1.25; margin: 0 0 15px 0;">Sign in to your application</h2>

<ol style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">
<li>Go to GOV.UK and search for 'Apply for an agent services account'.</li>
<li>In the section '<b>How long this process takes</b>', select the link to check the progress of an existing application.</li>
<li>Sign in with the agent details you used when you made the application.</li>
</ol>

<h2 style="font-size: 24px; line-height: 1.25; margin: 0 0 15px 0;">Why you are receiving this email</h2>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">We send a confirmation email when it's time to submit your application for an agent services account.</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">Thank you</p>
<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">HMRC Agent Services</p>

}
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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") {

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">Dear @agentName()</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">The business owner has now provided their details.</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">You have until @applicationExpiryDate() to sign in and submit the application.</p>

<h2 style="font-size: 24px; line-height: 1.25; margin: 0 0 15px 0;">Sign in to your application</h2>

<ol style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">
<li>Go to GOV.UK and search for 'Apply for an agent services account'.</li>
<li>In the section '<b>How long this process takes</b>', select the link to check the progress of an existing application.</li>
<li>Sign in with the agent details you used when you made the application.</li>
</ol>

<h2 style="font-size: 24px; line-height: 1.25; margin: 0 0 15px 0;">Why you are receiving this email</h2>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">We send a confirmation email when it's time to submit your application for an agent services account.</p>

<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 15px 0;">Thank you</p>
<p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;">HMRC Agent Services</p>

}
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down