feat: Add optional notification email when invite is accepted (#3718)

* feat: Add optional notification email when invite is accepted

* Refactor to use beforeSend
This commit is contained in:
Tom Moor
2022-07-02 15:40:40 +03:00
committed by GitHub
parent ee22a127f6
commit 863f22750f
14 changed files with 169 additions and 66 deletions

View File

@@ -44,6 +44,13 @@ function Notifications() {
"Receive a notification whenever a new collection is created"
),
},
{
event: "emails.invite_accepted",
title: t("Invite accepted"),
description: t(
"Receive a notification when someone you invited creates an account"
),
},
{
visible: isCloudHosted,
event: "emails.onboarding",