everywhere: add email notifications
This commit is contained in:
14
api/email.go
Normal file
14
api/email.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type email struct {
|
||||
Email string
|
||||
UnsubscribeSecretHex string
|
||||
LastEmailNotificationDate time.Time
|
||||
PendingEmails int
|
||||
SendReplyNotifications bool
|
||||
SendModeratorNotifications bool
|
||||
}
|
||||
Reference in New Issue
Block a user