We're currently developing a solution to add the ability to start new discussions and reply to them via email. Want to respond by email to a notification? No problem, that's covered too.
Commissioned by a Blomstra client, with the specific request to build this feature for the benefit of the whole Flarum community, we're ready to now offer this extension as a public beta to anyone who'd like to help test, offer feature suggestions, etc.
Features
- Allow users to register (and confirm) additional email addresses that can be associated with their account
- Start new discussions via email
- Reply to notification emails
- HTML formatted emails are converted to Markdown and formatted according to the current
TextFormatter
configuration
- Specify a Tag for new discussions started by email
- Option to have new discussions started via email automatically flagged for moderator approval/tag re-assignment, etc
- Option to auto subscribe to discussions participated in via email
What do I need to know?
At present, you must be using Mailgun to send your email notifications (using the built in Mailgun
provider). Support for other services might be added in the future, but for now this will be the only provider option.
If you're also using fof/pretty-mail
, this is supported, but you are required to make minor updates to your templates.
Your email sending domain DNS must have the correct MX
records configured for Mailgun to be able to receive inbound mail. Don't worry about configuring routes, etc, as the extension will configure this for you.
Installation
We've seperated logic into two extensions: blomstra/conversations
and blomstra/email-conversations
. This is so that we can support other conversation types in the future (think Discord, Slack, etc) that can also potentially post to the forum and receive notifications.
composer require blomstra/email-conversations:@beta
blomstra/conversations
and blomstra/email-conversations
will be installed together.
- Enable
Conversations
first, and review the permissions to see the post source. By default this is set to admin and mod groups.
- Enable
Email Conversations
.
- Visit
{YOUR_FORUM}/admin#/mail
and click Create Mailgun incoming route
.
- Configure the extension settings as per your requirements
{YOUR_FORUM}/admin#/extension/blomstra-email-conversations
.
- If you're using
fof/pretty-mail
: In each of your HTML templates, add the variable $notificationId
somewhere in the content. Somewhere in the <footer>
element is recommended.
- Send a test email to your forum (The email address is the one configured in your email settings tab). The subject line will become the discussion title, the email body will become the post content.
Screenshots
Admin panel
Post header
Post header for moderators
Additional email addresses in user settings
Feedback
We π your feedback. Any issues/bugs should be reported on Github, please, so that we can keep track of everything in one place. General comments and suggestions are most welcome here in this discussion