# Mail address per category

**URL:** https://meta.discourse.org/t/mail-address-per-category/59151
**Category:** Feature
**Created:** [March 15, 2017, 11:14am UTC](https://meta.discourse.org/t/mail-address-per-category/59151 "2017-03-15T11:14:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dosch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dosch/32/51426_2.png) [@dosch](https://meta.discourse.org/u/dosch)
#### Post date: [March 15, 2017, 11:14am UTC](https://meta.discourse.org/t/mail-address-per-category/59151/1 "2017-03-15T11:14:45Z")

</div>

Is it possible to set up different mail addresses for categories?

The use case is as follows:

- I publish an email address somewhere publicly.
- People who mail this, actually mail the forum.
- These people don’t need an account on discourse to post (they do not even need to know that, by mailing they are actually posting on a forum)
- The category on the forum serves as the ‘inbox’ for this email address.
- Replying to the post on the forum in the category, send a reply to the original emailer.

Or am I now making Discourse into some Frankenstein monster? :wink:

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [March 15, 2017, 11:35am UTC](https://meta.discourse.org/t/mail-address-per-category/59151/2 "2017-03-15T11:35:40Z")

</div>

You can do most of this - go to the “edit” page for the category, and choose the “settings” tab. There’s a setting called “custom incoming email address”. Set this to what you want for the category.

If you turn on the “enable staged users” site setting, then “staged” users will be created when people send email to that address.

However…

> [@dosch](#):
>
> Replying to the post on the forum in the category, send a reply to the original emailer.

As far as I know, this won’t happen unless the user actually signs up for an account.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [March 15, 2017, 1:49pm UTC](https://meta.discourse.org/t/mail-address-per-category/59151/3 "2017-03-15T13:49:31Z")

</div>

I don’t know if I’d call it a Frankenstein monster, but I think it’s flawed.

> [@dosch](#):
>
> actually mail the forum. they do not even need to know that, by mailing they are actually posting on a forum
> 
> The category on the forum serves as the ‘inbox’ for this email address.

1 - IMHO it _might_ be OK _if_ they knew ahead of time. I imagine most people expect an email to either go unanswered or to be answered via email. I also think most people expect that email will be relatively private and might be upset if the content was public.

2 - I’m not so sure Discourse would be the best choice for an “inbox”. Discourse is designed to be a discussion platform, not some sort of a “ticket system”.

---

<div class="post-metadata">

### Author: ![dosch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dosch/32/51426_2.png) [@dosch](https://meta.discourse.org/u/dosch)
#### Post date: [March 15, 2017, 1:52pm UTC](https://meta.discourse.org/t/mail-address-per-category/59151/4 "2017-03-15T13:52:45Z")

</div>

Yeah it is a weird setup.. But no one said the content will become public; the categories will be hidden and limited to a restricted amount of users.  
Also; that a tool is designed to do one thing, doesn’t mean you can try to make it do something else. What works for me, doesn’t have to work for you. :slight_smile:

Basically what I am trying to see is to use a tool I already have (Discourse) for something new, so I don’t have to setup a new tool for this purpose.

But it might be that I will setup mailman for this purpose after all, if this fails.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [March 17, 2017, 1:18pm UTC](https://meta.discourse.org/t/mail-address-per-category/59151/5 "2017-03-17T13:18:06Z")

</div>

> [@dosch](#):
>
> Yeah it is a weird setup.. But no one said the content will become public; the categories will be hidden and limited to a restricted amount of users.

Keep in mind this will result in some confusing UX for your email users. The emails they get as replies will have a link to the topic that’s been created, but if they try to go to that topic they’ll be unable to access it. This is why PM groups are recommended practice for this type of workflow.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [March 18, 2017, 3:01am UTC](https://meta.discourse.org/t/mail-address-per-category/59151/6 "2017-03-18T03:01:46Z")

</div>

> [@erlend\_sh](#):
>
> PM groups are recommended practice for this type of workflow

Agreed. You just need to

- set up a private group
- add user who will need access
- assign an email in the group settings page
- publish email for group

Users who email the group email address will get staged if they don’t have account (assuming that is configured). You can still reply to them via group inbox, and users can reply via email (assuming that is configured). Works great as a support inbox.

---

<div class="post-metadata">

### Author: ![dosch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dosch/32/51426_2.png) [@dosch](https://meta.discourse.org/u/dosch)
#### Post date: [March 20, 2017, 10:26am UTC](https://meta.discourse.org/t/mail-address-per-category/59151/7 "2017-03-20T10:26:21Z")

</div>

> [@scombs](#):
>
> assign an email in the group settings page

Just this one I couldn’t get done…  
Maybe I am blind, but I really can’t find a field to set an email for a user group…

I am in Admin \> Groups \> Custom \> [mygroup]

the options I see are:

- Name
- Full Name
- About Group
- Add owners
- Members
- Group is visible to all users
- Allow users to join/leave the group freely (Requires group to be visible)
- Allow users to send membership requests to group owners (Requires everyone to be able to mention the group)
- Automatically set as primary group
- Who can message and @mention this group?
- Users who register with an email domain that exactly matches one in this list will be automatically added to this group:
- Apply the same email domain rule to add existing registered users
- Default title for all users in this group
- Trust level automatically granted to members when they’re added:
- Avatar Flair Image
- Avatar Flair Background Color
- Avatar Flair Color

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [March 20, 2017, 11:13am UTC](https://meta.discourse.org/t/mail-address-per-category/59151/8 "2017-03-20T11:13:08Z")

</div>

You need to [setup incoming email](https://meta.discourse.org/t/setup-incoming-emails-e-mail/42026).

Then you should see **Custom incoming email address** under the group settings.
