# "New Topic via Email" button plugin

**URL:** <https://meta.discourse.org/t/new-topic-via-email-button-plugin/58554>\
**Category:** Plugin\
**Created:** [March 7, 2017, 1:18pm UTC](https://meta.discourse.org/t/new-topic-via-email-button-plugin/58554 "2017-03-07T13:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**Post date:** [March 7, 2017, 1:18pm UTC](https://meta.discourse.org/t/new-topic-via-email-button-plugin/58554/1 "2017-03-07T13:18:03Z")

</div>

Introducing `expose-emails-in`, a Discourse plugin to “expose category emails-in in useful ways”, which should really be called the “New Topic via Email” button plugin, because it does this to your category pages:

![](https://global.discourse-cdn.com/meta/original/3X/7/9/79c12b7edf145886e11541cb9ca403c1d0dc1464.png)

Clicking the plus opens the composer as usual, whereas clicking the envelope opens your email client populated with the email-in address of that category.

The plugin also changes behaviour for a logged out user, showing:

![](https://global.discourse-cdn.com/meta/original/3X/a/c/ac81f981503aafb2ad17d5af666500d60f0703d1.png)

Here, clicking out the greyed out plus opens a modal prompting the user to log in, and clicking the envelope either opens your email client or the same modal, depending on whether the category is set to allow emails-in from strangers:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/2/6268765d9f44e3a59d506dd06bc53c30a28ba9aa.png)

The text of the modal changes slightly when opened from the plus button if the category does allow emails-in from strangers, if you really want to get into the nitty gritty of the various possible states of buttons and modals, [knock yourself out](https://github.com/mozilla/parsys/issues/15#issuecomment-282786203).

You can see it in use on [Mozilla’s Discourse instance](https://discourse.mozilla-community.org/c/mozillians), and find the repo here:

[https://github.com/mozilla/discourse-expose-emails-in](https://github.com/mozilla/discourse-expose-emails-in)

Please leave your questions, feature requests, comments and bug reports ↓

---

_[View the full topic](https://meta.discourse.org/t/new-topic-via-email-button-plugin/58554)._
