Add tags by email

I’ve had a request for the ability to add tags to topics when posting by email. This could work by adding a line as follows starting with tags: and then a comma separated list.

tags: tag1, tag2, tag3 

I can see potential for difficulty, e.g. because there is no autocomplete people won’t know tags that are already being used and create duplicates, but I also think it can be quite powerful and help people to indicate organization they’d like without having to log in - and in my community many people just want to stay in their email.

「いいね!」 4

Hi!

We (@mcwumbly and I) would really benefit from a feature like this also. Was anything ever implemented that enables tagging topics that are created via email?

Thanks!

「いいね!」 3

Nope, nothing was implemented regarding tag creations via incoming emails.

Is this pr-welcome material?

It’s quite risky. How do you know what tags exist? What happens if you typo a tag? What happens when a tag is specified that doesn’t exist?

Just ignore all that? No feedback?

「いいね!」 2

I’m with you, Jeff. My opinion has changed since posting this request back in the day. Let’s keep it simple, and let the moderators garden and fix tags etc. If people want to indicate in their message where it should go that’s fine too.

「いいね!」 1

Here are some thoughts to address the risks that you identified:

The feature should respect that tags site settings, including “minimum trust level to create tags” If that is higher than the user’s trust level, then the tag would just get dropped if it doesn’t exist (which could be due to a typo).

If the user’s trust level allows them to create tags, then the new tag would be created (which could be a misspelling).

Yes, the chance of these errors is higher without immediate feedback, but on the other hand, this is a pretty “advanced” feature anyway, so I wouldn’t expect a huge onslaught of tagging mayhem were it to be added.

It’s a pain in the behind to implement properly (allowing for localization and some leniency with format), a feature that is impossible to discover and dealing with edge cases is hard.

That said, I don’t see why not allow the community to send through a well specified PR, cause it is kind of important for mailing list parity.

「いいね!」 7

I have a different suggestion for adding tags by email:

email@forum.com is used for Uncategorized
accessibility@forum.com is also used for Uncategorized but adds the tag Accessibility in Discourse

Has anyone considered this?

「いいね!」 1

Many systems (incl. gmail) allow addresses to have the format user+tag@domain.com, routed to user@domain.com.

Discourseはすでにその機能を使用して、メールをカテゴリ別にルーティングしていると思います。

このアイデアは本当に気に入りました!カテゴリやグループと同じワークフローを使用しているため、ユーザーが新しく習得する必要のあるものは何もありません。

「いいね!」 1

ありがとうございます。別の実現方法も考えられます。

email+tagname@forum.com は、そのタグが everyone グループで利用可能であると仮定します。

それについて何かアップデートはありますか?

タグ付きトピックにメールを送信するサポートはありますか?

「いいね!」 1

短い答えは「いいえ」です。

元の「tags: で始まる行にタグのカンマ区切りリストを続ける」という提案から、x+tag@forum.exampleを使用するという提案がいくつかありました。最初の提案は気に入っていますが、2番目の提案は既存のグループやカテゴリのメール送信設定を壊す可能性があるため、タグ付けのエラーに対処することの難しさも理解しています。

「いいね!」 1

件名を利用するのはどうでしょうか?

件名: メール経由でタグを追加する方法 ;email,api,webhook

セミコロンの右側にあるものはすべてタグのCSVです。

受信トレイでは非常に奇妙に見えるでしょう。

これは非常に壊れやすく、+ がグループやカテゴリに一致するために使用される多くのセットアップにはまったく一致しないでしょう。

@tobiaseigen による元の提案が最も汎用性が高いようです。

リストをスライスして、最初に言及されたものだけを保持することで、制限を克服できます。

^tags: の後続の使用を無視すること(つまり、メールの先頭にあるタグを優先し、引用を無視すること。引用を返信よりも好む私たちにとって)について、何らかの合意(または仕様)が必要ですが、それ以外は私の見解では提案は堅実なようです。

「いいね!」 2