feat: other email notifications for approved/available

also adds UI to configure email notifications to frontend
This commit is contained in:
sct
2020-11-24 14:36:31 +00:00
parent f8c01fbc83
commit 0d73d88f35
9 changed files with 390 additions and 10 deletions

View File

@@ -65,6 +65,7 @@ interface NotificationAgentDiscord extends NotificationAgent {
interface NotificationAgentEmail extends NotificationAgent {
options: {
emailFrom: string;
smtpHost: string;
smtpPort: number;
secure: boolean;
@@ -120,6 +121,7 @@ class Settings {
enabled: false,
types: 0,
options: {
emailFrom: '',
smtpHost: '127.0.0.1',
smtpPort: 465,
secure: false,