mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
feat(mail-ingest): tell every address holder once when the import stops
A plan without the import switches it off from outside the server, and an admin can switch it off too; the plan promises a "mail import paused" note. An hourly job sends mail_ingest_paused to each holder of a live address with their own import on, notes the pause first, and forgets it once it is back.
This commit is contained in:
@@ -107,6 +107,10 @@ const en: NotificationLocale = {
|
||||
title: 'Forwarded bookings to review',
|
||||
body: `Forwarded bookings waiting for you in TREK: ${p.count}. Each one says why it was not added on its own.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'Mail import paused',
|
||||
body: 'TREK does not take in forwarded booking mails for now, so hold off forwarding them. Your addresses stay and work again once the import is back, and bookings already added stay in your trips.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
Reference in New Issue
Block a user