summaryrefslogtreecommitdiff
path: root/internal/email/sender.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/email/sender.go')
-rw-r--r--internal/email/sender.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/email/sender.go b/internal/email/sender.go
index 78338a0dd..a3efa6124 100644
--- a/internal/email/sender.go
+++ b/internal/email/sender.go
@@ -53,6 +53,14 @@ type Sender interface {
// It is expected that the toAddresses have already been filtered to ensure
// that they all belong to active admins + moderators.
SendNewSignupEmail(toAddress []string, data NewSignupData) error
+
+ // SendSignupApprovedEmail sends an email to the given address
+ // that their sign-up request has been approved by a moderator.
+ SendSignupApprovedEmail(toAddress string, data SignupApprovedData) error
+
+ // SendSignupRejectedEmail sends an email to the given address
+ // that their sign-up request has been rejected by a moderator.
+ SendSignupRejectedEmail(toAddress string, data SignupRejectedData) error
}
// NewSender returns a new email Sender interface with the given configuration, or an error if something goes wrong.