# How to disable all the emails sending by discourse?

**URL:** https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892
**Category:** Support
**Tags:** email
**Created:** [19 במרץ,‏ 2020,‏ 9:48pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892 "2020-03-19T21:48:06Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jenni\_alencar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jenni_alencar/32/169068_2.png) [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)
#### Post date: [19 במרץ,‏ 2020,‏ 9:48pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/1 "2020-03-19T21:48:06Z")

</div>

I disable the preview digest, but today I received an email saying someone commented on a topic.

For now, I don’t want users to receive any email for now, other than the invitation email. How to disable?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [19 במרץ,‏ 2020,‏ 9:51pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/2 "2020-03-19T21:51:23Z")

</div>

> [@jenni\_alencar](#):
>
> I don’t want users to receive any email for now, other than the invitation email.

There is no guaranteed way to do this. We have the `disable emails` site setting, but that will disable _all_ emails, invite included.

---

<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: [19 במרץ,‏ 2020,‏ 10:00pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/3 "2020-03-19T22:00:09Z")

</div>

It will also block them from recovering their accounts if they ever need to reset a password. Email is central to Discourse, it’s not really practical to use it without working email.

---

<div class="post-metadata">

### Author: ![jenni\_alencar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jenni_alencar/32/169068_2.png) [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)
#### Post date: [19 במרץ,‏ 2020,‏ 10:03pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/4 "2020-03-19T22:03:33Z")

</div>

My problem is, I put an invite HTML in the email style, this way, the same invite template is applicated for all the emails.

Therefore, doesn’t make sense other emails with this template, but the invite mail.

---

<div class="post-metadata">

### Author: ![jenni\_alencar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jenni_alencar/32/169068_2.png) [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)
#### Post date: [19 במרץ,‏ 2020,‏ 10:06pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/5 "2020-03-19T22:06:13Z")

</div>

What this option does? Custom email template and css are applied to summary emails.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [19 במרץ,‏ 2020,‏ 10:35pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/6 "2020-03-19T22:35:34Z")

</div>

Maybe have a look at `https://yoursite/admin/site_settings/category/user_preferences?filter=notification` and adjust these:

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/0/7045337ede98f83db8c3a90265de1b5a0f26bee4.png)

Also, maybe [Optional global invite code](https://meta.discourse.org/t/optional-global-invite-code/144376/) will help you. But users still need to be able to receive verification and password reset emails, unless you use something like Google auth, maybe.

If this is for some trial/testing period and you do have Google (or similar) Authentication and the global invite thing would work for you, you could disable emails. But it wouldn’t be very nice.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [19 במרץ,‏ 2020,‏ 11:17pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/7 "2020-03-19T23:17:36Z")

</div>

> [@jenni\_alencar](#):
>
> For now, I don’t want users to receive any email for now, other than the invitation email. How to disable?

There are two user preferences that control what emails get sent to a user. The settings are found in the Emails section of the user’s preferences page:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/8/b86f19f9f60db3a00d7ecb99a3c90a96f8d8968a.png)

The first setting in the screenshot controls when personal messages should be sent as an email. The second setting controls when emails to do with activity in a topic should get sent to a user. For your case you might want to set the second setting to “never”.

You can set site wide default values for these preferences. They are set by the `default email messages level` and `default email level` site settings.

> [@jenni\_alencar](#):
>
> My problem is, I put an invite HTML in the email style, this way, the same invite template is applicated for all the emails.

Maybe there is another way to handle this. I’ll see if I can come up with something. It might require you to simplify the HTML that is currently being used in your invite email though.

---

<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: [19 במרץ,‏ 2024,‏ 7:56pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/8 "2024-03-19T19:56:26Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [19 במרץ,‏ 2024,‏ 10:02pm UTC](https://meta.discourse.org/t/how-to-disable-all-the-emails-sending-by-discourse/144892/9 "2024-03-19T22:02:32Z")

</div>


