Mattermost, Inc.

Is there a **simple** way to automatically email messages to an external email distribution list

After the introduction of mattermost there are always people lagging behind and sticking to their beloved mailing lists :cry: Unfortunately you can’t always just don’t care. The best would be if these people would get the messages posted in mattermost into the Email.

There seem to be alot of possibilities with outgoing webhooks, but setting up a whole web-to -email gateway for a couple of jerks wishing to stay in stone age of communication is just too much. :laughing:

Any ideas?

I came up with the idea to set up a specific user called “mailer” which email points to the distribution list email. If someone mentions @mailer in his message then, the message gets distributed to the people still on the mailing list. Unfortunately this is still too wacky for production because:

  • The subject line is messy. Is there any way to have at least something like “Message from Mattermost” maybe even mention the user who has written the message?
  • The Mail body is messy as well. Is there any possibility to put the message first and the rest of the Mattermost mentions and channel links somewhere on the bottom?
  • All sort of notificationswill go through. Is there a possibility to have Email only on mentions?

Hi @BlueAnanas,

Your best option for a more immediate solution would be to make use of the outgoing webhooks and build some sort of small hosted application that will receive the events anytime @mailer (or some other trigger word) is at the start of a message and the compose the email just as you like it, and fire it off to your distribution list.

That said configurable mention email subjects and bodies is something that I can see being useful and if you’d like you can submit a feature request here for that.

If you were to configure a single mailer user then you could change that user’s notifications to only go through on mentions. You can do this in Account Settings -> Notifications -> Words that trigger mentions and click off everything but the mention field.

[quote=“jwilander, post:2, topic:1135”]
some sort of small hosted application
[/quote]is exactly what i wanted to avoid. An external hoster is a no go and would make more Email troubles. But setting up another tomcat or django battleship?

Did anyone already think about some community written extensions or plugins which the administrator could add to run on the Mattermost server itself?

Meanwhile I’ll have a look on the notification email generating code :nerd:

There’s multiple email integrations for moving email into Mattermost via community applications (look for “mail” on page to find email and mailing list references).

If you create something here and decide to share it back with the community, please let us know so we can help promote your work,