# Plaintext and / or raw emails for mailing list mode

**URL:** <https://meta.discourse.org/t/plaintext-and-or-raw-emails-for-mailing-list-mode/74267>\
**Category:** Feature\
**Created:** [Novembro 17, 2017, 2:15pm UTC](https://meta.discourse.org/t/plaintext-and-or-raw-emails-for-mailing-list-mode/74267 "2017-11-17T14:15:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gwmngilfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gwmngilfen/32/302925_2.png) [@gwmngilfen](https://meta.discourse.org/u/gwmngilfen)\
**Post date:** [Novembro 17, 2017, 2:15pm UTC](https://meta.discourse.org/t/plaintext-and-or-raw-emails-for-mailing-list-mode/74267/1 "2017-11-17T14:15:37Z")

</div>

Hi all,

As my Google Groups migration gathers pace, a few users have suggested a couple of things that might make sense, and I wanted to see if I missed an option for these, or if perhaps patches would be welcome…

Firstly, the emails sent out are of course HTML + text, but the plaintext version is actually just the markdown that was written. This makes quotes and inline images both appear a bit weird:

```plaintext
[quote="Gwmngilfen, post:36, topic:7472, full:true"]
blah blah
[/quote]
![image|677x500](upload://ked5br4s5WmtG5wWf8O7a7dmev6.png)

```

It would be great if we could do some kind of HTML-to-plaintext render before sending it out, so that we get something more like:

```plaintext
> blah blah
https://mydiscourseorg/uploads/default/optimized/1X/8dc6b8e02d074eb09ab3017561ef6c2fda5b9c00=_1_677x500.png

```

Perhaps as a user-level setting?

Another request they had was about the reply quoting - Discourse trims most quoted material when it receives a mail, and that’s understandable for the UI. But since we store the raw email that came in (visible via the 📧 icon), is there any reason not to send that raw mail back out again? It feels like it would satisfy many mailing list mode users, but I’m probably missing a reason 😉. Again, this could potentially be a user setting, I think.

Thoughts on either of these? I’m willing to attempt patches if they’re of interest… might need some hand holding though 🙂

---

_[View the full topic](https://meta.discourse.org/t/plaintext-and-or-raw-emails-for-mailing-list-mode/74267)._
