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.

2 Likes

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!

2 Likes

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 Likes

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 Like

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 Likes

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 Like

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

I think Discourse already makes use of that feature for routing mail by category.

I really like this idea! It uses the same workflow as categories and groups so it’s not something completely new for users to pick up on.

1 Like

Thanks, another way I could see this working:

email+tagname@forum.com assuming that tag is available to everyone group.