discourse/lib/email
Martin Brennan c4ea158656
FIX: Improve tags in email subjects and add filter headers (#19760)
This commit does a couple of things:

1. Changes the limit of tags to include a subject for a
   notification email to the `max_tags_per_topic` setting
   instead of the arbitrary 3 limit
2. Adds both an X-Discourse-Tags and X-Discourse-Category
   custom header to outbound emails containing the tags
   and category from the subject, so people on mail clients
   that allow advanced filtering (i.e. not Gmail) can filter
   mail by tags and category, which is useful for mailing
   list mode users

c.f. https://meta.discourse.org/t/headers-for-email-notifications-so-that-gmail-users-can-filter-on-tags/249982/17
2023-01-06 10:03:02 +10:00
..
authentication_results.rb enqueue spam/dmarc failing emails instead of hiding (#8674) 2020-01-21 11:12:00 -05:00
build_email_helper.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
cleaner.rb FEATURE: Remove attachments and truncate raw field for incoming emails (#8253) 2019-10-30 16:54:35 +11:00
message_builder.rb FIX: Improve tags in email subjects and add filter headers (#19760) 2023-01-06 10:03:02 +10:00
message_id_service.rb FEATURE: Overhaul email threading (#17996) 2022-09-26 09:14:24 +10:00
processor.rb FEATURE: Limit maximum recipients for group emails (#17971) 2022-08-18 18:18:58 +03:00
receiver.rb DEV: Remove enable_whispers site setting (#19196) 2022-12-16 18:42:51 +02:00
renderer.rb FIX: during concurrent emails generation renderer should not be reused 2019-10-10 08:50:48 +11:00
sender.rb SECURITY: BCC active user emails from group SMTP (#19725) 2023-01-05 06:07:50 +08:00
styles.rb FIX: Email hashtag-cooked text replacement error (#19278) 2022-12-01 19:48:24 +10:00
validator.rb FIX: Parse address lists in embedded emails (#14514) 2021-10-06 15:07:29 +03:00