discourse/app/mailers
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
..
admin_confirmation_mailer.rb UX: show user email address on "grant admin access" email and UI 2019-11-04 14:47:00 +05:30
download_backup_mailer.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
group_smtp_mailer.rb SECURITY: BCC active user emails from group SMTP (#19725) 2023-01-05 06:07:50 +08:00
invite_mailer.rb DEV: Hash tokens stored from email_tokens (#14493) 2021-11-25 09:34:39 +02:00
rejection_mailer.rb DEV: Correct spelling mistakes in comments 2021-05-21 13:37:17 +10:00
subscription_mailer.rb FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
test_mailer.rb FIX: Use our header value instead of custom header on duplicates (#16711) 2022-05-11 13:47:12 +10:00
user_notifications.rb FIX: Improve tags in email subjects and add filter headers (#19760) 2023-01-06 10:03:02 +10:00
version_mailer.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00