summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 1114dc84d..25dc91eb1 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -466,6 +466,17 @@ config :pleroma, Pleroma.ScheduledActivity,
total_user_limit: 300,
enabled: true
+config :pleroma, :email_notifications,
+ digest: %{
+ # When to send digest email, in crontab format (https://en.wikipedia.org/wiki/Cron)
+ # 0 0 * * 0 - once a week at midnight on Sunday morning
+ schedule: "0 0 * * 0",
+ # Minimum interval between digest emails to one user
+ interval: 7,
+ # Minimum user inactivity threshold
+ inactivity_threshold: 7
+ }
+
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"