[CLD-6894] Add 60, 30, and 7 day reminder emails for Cloud Renewals (#25883)

* Add email notifications for Cloud Renewals

* Updates

* Updates

* Update app-layers

* make build-templates

* Add ability to set an env variable as a unix timestamp in s as the current date when getting DaysToExpiration

* Add a mechanism to ensure at least one admin receives every email

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
Этот коммит содержится в:
Nick Misasi
2024-01-11 13:07:41 -05:00
коммит произвёл GitHub
родитель 04cf1ed114
Коммит aafe7439af
15 изменённых файлов: 889 добавлений и 1 удалений

Просмотреть файл

@@ -3378,6 +3378,38 @@
"id": "api.team.update_team_scheme.scheme_scope.error",
"translation": "Unable to set the scheme to the team because the supplied scheme is not a team scheme."
},
{
"id": "api.templates.cloud_renewal.button",
"translation": "Renew now"
},
{
"id": "api.templates.cloud_renewal.subtitle",
"translation": "Please renew to avoid any disruption"
},
{
"id": "api.templates.cloud_renewal_30.subject",
"translation": "Annual bill due in 30 days"
},
{
"id": "api.templates.cloud_renewal_30.title",
"translation": "Your annual bill is due in 30 days"
},
{
"id": "api.templates.cloud_renewal_60.subject",
"translation": "Annual subscription renewal in 60 days"
},
{
"id": "api.templates.cloud_renewal_60.title",
"translation": "Annual subscription renewal in 60 days"
},
{
"id": "api.templates.cloud_renewal_7.subject",
"translation": "Action Required: Annual subscription renewal in 7 days"
},
{
"id": "api.templates.cloud_renewal_7.title",
"translation": "You are about to lose access to your workspace in 7 days"
},
{
"id": "api.templates.cloud_upgrade_confirmation.subject",
"translation": "Mattermost Upgrade Confirmation"