# Any way to limit times that system emails?

**URL:** <https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521>\
**Category:** Product Support\
**Created:** [November 15, 2019, 9:23pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521 "2019-11-15T21:23:25Z")\
**Posts on this page:** 9\
**Page:** 1

## AI-generated summary

The discussion revolves around limiting system email notifications to specific hours, such as disabling them from 10 PM to 7 AM CST. [DavidO](/t/-/133521/1) requests this feature to avoid disrupting users outside work hours, noting that most emails are non-urgent. [Stephen](/t/-/133521/2) argues that email is central to Discourse and that users should manage notifications via device features like Do Not Disturb (DND), as disabling emails would also affect critical functions like password resets and user registration. [MarcP](/t/-/133521/3) suggests using the `max email` setting to control email volume, but [DavidO](/t/-/133521/4) clarifies the issue is timing, not quantity. [tobiaseigen](/t/-/133521/7) notes that email services like Mailgun and Mandrill do not support scheduled email queuing, and questions the necessity of such a restriction, suggesting users who don't want late notifications can simply avoid checking emails. The conversation highlights a tension between user convenience and system functionality.

<div class="post-metadata">

**Author:** ![DavidO](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@DavidO](https://meta.discourse.org/u/DavidO)\
**Post date:** [November 15, 2019, 9:23pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/1 "2019-11-15T21:23:25Z")

</div>

Almost all of ours is FYI info, not that timely.

Is there a way to set it up so that it cuts of sending notification emails after 10PM CST US until 7AM CST US so that people aren’t getting email notifications at all hours of the night if people respond to things?

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [November 15, 2019, 11:49pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/2 "2019-11-15T23:49:57Z")

</div>

Every Android and iOS device I’ve seen in recent years has some form of DND.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/0/c0ed6ebe6ec5bae6b5f568801c75362d95adba97.jpeg)

I’m going to assume these users use email for more than your community, so why would it be something you would necessarily want to influence from within discourse? If you have some users up and replying late at night it stands to reason they would want to know if their posts receive a response before the next morning.

---

<div class="post-metadata">

**Author:** ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)\
**Post date:** [November 16, 2019, 3:21am UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/3 "2019-11-16T03:21:09Z")

</div>

In the settings type `max email`. I think this is your best shot at managing emails. Without this I had 9K sended emails in one day.

---

<div class="post-metadata">

**Author:** ![DavidO](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@DavidO](https://meta.discourse.org/u/DavidO)\
**Post date:** [November 18, 2019, 6:04pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/4 "2019-11-18T18:04:47Z")

</div>

It’s not the number of emails, it’s the time of day that’s the issue. Many of our users are not super technical and it’s not at all necessary that we send emails outside of the window I discussed, so I’d rather just have them turned off during that time-frame.

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [November 18, 2019, 6:25pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/5 "2019-11-18T18:25:51Z")

</div>

Email is central to Discourse, it’s used for everything from notifications to login links and password resets. Disabling email would also block user registration and basic management features.

Note that disabling email also won’t block browser or mobile notifications for anyone who enabled them when prompted.

If your users are complaining about being notified you’re going to be much better off pointing them at features such as DND than trying to prevent messages from being relayed. Users rarely need to have a curfew imposed upon them, the fact that notifications are being sent suggests that not everyone is fast asleep next to a cellphone.

---

<div class="post-metadata">

**Author:** ![DavidO](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@DavidO](https://meta.discourse.org/u/DavidO)\
**Post date:** [November 18, 2019, 7:52pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/6 "2019-11-18T19:52:18Z")

</div>

Aware. Doesn’t change my request.

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [November 18, 2019, 10:31pm UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/7 "2019-11-18T22:31:51Z")

</div>

You might be able to handle this on the MTA level. I checked and mailgun and mandrill both do not support queueing outbound email for a scheduled period each day. I googled a bit but could not find anything (or the right combination of keywords) to find a solution for you.

I think France at some point had a law that businesses had to prevent their employees from emailing outside work hours - I think that might be a use case for this, but I am assuming it’s no longer the case.

But otherwise generally I’m not understanding your purpose here and it’s hard for us to help you without understanding better what you’re trying to achieve. Email is designed to be delivered on a timely basis. If a password reset email doesn’t arrive for 10 hours, your users are going to think your site is broken. Those users who do not want to engage after hours can just go to bed 💤 and read the emails when they wake up in the morn. 😉

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [August 18, 2023, 6:57am UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/8 "2023-08-18T06:57:18Z")

</div>

Automatically bumped on August 18, 2023, 6:57am UTC



---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [August 18, 2023, 6:58am UTC](https://meta.discourse.org/t/any-way-to-limit-times-that-system-emails/133521/9 "2023-08-18T06:58:51Z")

</div>

Closed on August 18, 2023, 6:58am UTC


