添加电子邮件头以区分回复邮件与其他邮件

As discourse gets closer to its goal of becoming the wordpress for forums, I’m a member of a growing number of discourse forums and all of these are sending emails to my inbox. Most of those notification emails, I’d like to file into a separate folder right when they arrive. Most, but not all. For example, I’d like to keep replies to my posts and mentions in my Inbox.

Is there any way to identify these based on email headers? If not, we can also search the message body…

Edit: Given that there currently seems to be no answer to this question, I’m turning this into a feature request: please add an email header that specifies what kind of email this is (i.e. why discourse is sending it).

6 个赞

Necro-Liking 此请求。我们有作为发送给会员的通知副本的电子邮件,以及发送给系统管理员的关于系统事件的通知。由于支持多语言,按电子邮件文本过滤是徒劳的。我有一个不断增长的 Sieve 过滤器列表,用于使用主题和正文内容标记来排序 Discourse 邮件……这很原始。

除非此功能已实现而我错过了,否则我将在此请求上加一票,并提供更多详细信息:

对于此平台发送的每种电子邮件类型,设置一个默认电子邮件标题,允许更改该标题,并允许禁用所有标题(对于已建立的站点,默认设置为“已禁用”)。

示例:
X-Discourse-Type: user 2FA changed
X-Discourse-Type: user confirm new address
X-Discourse-Type: user confirm new account
X-Discourse-Type: user reminder to confirm new account
X-Discourse-Type: user password reset
X-Discourse-Type: admin backup download
X-Discourse-Type: admin update available

如果这可能不是一个增强功能,或者如果已经可以通过代码完成,请告知我们如何做到这一点,或提供一个替代机制来实现相同的目标。

谢谢!