Aggiungi tag tramite 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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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

Penso che Discourse utilizzi già quella funzionalità per instradare la posta per categoria.

Mi piace molto questa idea! Utilizza lo stesso flusso di lavoro delle categorie e dei gruppi, quindi non è qualcosa di completamente nuovo da imparare per gli utenti.

1 Mi Piace

Grazie, un altro modo in cui potrei vederlo funzionare:

email+tagname@forum.com assumendo che il tag sia disponibile per il gruppo everyone.

Ci sono aggiornamenti?

Possiamo inviare email agli argomenti con il supporto dei tag?

1 Mi Piace

La risposta breve è: no.

Sono state avanzate diverse proposte dall’originale “aggiungere una riga che inizia con tags: seguita da un elenco separato da virgole di tag” per utilizzare x+tag@forum.example. Sebbene mi piaccia la prima, poiché la seconda è destinata a interrompere le configurazioni esistenti di email-in per gruppi e categorie, capisco anche la difficoltà di dover gestire gli errori di tagging.

1 Mi Piace

Che ne dici di utilizzare la riga dell’oggetto?

Oggetto: Come aggiungere tag via email ;email,api,webhook

Tutto ciò che è a destra del punto e virgola è un CSV di tag.

Sembrerebbe molto strano nella Posta in arrivo.

Questo sarebbe molto fragile e certamente non corrisponderebbe a molte configurazioni in cui il + viene utilizzato per abbinare gruppi o categorie.

La proposta originale di @tobiaseigen sembra la più versatile.

I limiti possono essere superati affettando la lista e mantenendo solo i primi menzionati.

Dovrebbe esserci un accordo (ovvero una specifica) sull’ignorare usi successivi di ^tags: (cioè, preferire i tag all’inizio delle email e ignorare le citazioni, per quelli di noi che preferiscono citare piuttosto che rispondere). Ma per il resto la proposta sembra solida per quanto mi riguarda.

2 Mi Piace