{% extends "admin/master.html" %} {% import 'admin/layout.html' as layout with context %} {% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %} {% from "govuk_frontend_jinja/components/button/macro.html" import govukButton %} {% block beforeContent %} {{ govukBackLink({"text": "Back", "href": url_for('collection_lifecycle.tasklist', grant_id=grant.id, collection_id=collection.id) }) }} {% endblock %} {% block action_panel %}
{{ layout.messages() }} {% if email_type == enum.report_admin_email_type_enum.COLLECTION_OPEN_NOTIFICATION %}

{{ grant.name }} - {{ collection.name }} Send emails to data providers

Let grant recipient users know that their {{ collection.type.constants.singular }} is ready to complete. This email is sent to all data providers for all grant recipients for {{ collection.grant.name }}.

{% elif email_type == enum.report_admin_email_type_enum.DEADLINE_REMINDER %}

{{ grant.name }} - {{ collection.name }} Send deadline reminder emails

Let grant recipient users know that there is only one week left until their {{ collection.type.constants.singular }} needs to be submitted for {{ collection.grant.name }}. This email is sent to all data providers and certifiers for grant recipients that have not yet submitted this {{ collection.type.constants.singular }}.

{% elif email_type == enum.report_admin_email_type_enum.COLLECTION_OVERDUE %}

{{ grant.name }} - {{ collection.name }} Send {{ collection.type.constants.singular }} overdue emails

Let grant recipient users know that the submission deadline has passed for {{ collection.grant.name }}. This email is sent to all data providers and certifiers for grant recipients that have not yet fully submitted this {{ collection.type.constants.singular }}.

{% elif email_type == enum.report_admin_email_type_enum.COLLECTION_CLOSED_NOTIFICATION %}

{{ grant.name }} - {{ collection.name }} Send {{ collection.type.constants.singular }} closed emails

Let grant recipient users know that the {{ collection.type.constants.singular }} has now closed and no further changes can be made to their submissions. This email is sent to all data providers for all grant recipients for {{ collection.grant.name }}.

{% endif %}

How to send emails

  1. Download the CSV file containing grant recipient email addresses and {{ collection.type.constants.singular }} details
  2. Open the GOV.UK Notify template (opens in new tab)
  3. Upload the CSV file to GOV.UK Notify and send the emails
  4. Delete the CSV file
{{ govukButton({ "text": "Download CSV", "href": url_for('collection_lifecycle.download_data_providers_csv', grant_id=grant.id, collection_id=collection.id, email_type=email_type), "classes": "govuk-!-margin-bottom-8" }) }}
{% endblock %}