# Saídas de plugin para e-mails de resumo

**URL:** <https://meta.discourse.org/t/plugin-outlets-for-summary-emails/103959>\
**Category:** Development\
**Created:** [10 Dezembro , 2018 23:36 UTC](https://meta.discourse.org/t/plugin-outlets-for-summary-emails/103959 "2018-12-10T23:36:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [10 Dezembro , 2018 23:36 UTC](https://meta.discourse.org/t/plugin-outlets-for-summary-emails/103959/1 "2018-12-10T23:36:36Z")

</div>

With some frequency people want to add something to the Summary emails (e.g., [Need advertising added to the newsletter (Digest)](https://meta.discourse.org/t/need-advertising-added-to-the-newsletter-digest/102924), and I just did a project where someone wants some data from custom fields added to summary emails). There is currently no way to do that without overwriting the whole template. This is a huge bummer if and when the template changes.

To my naive way of thinking, it seems like the solution to this problem is that there be some stubs in `user_notifications.rb` like

```ruby
  def digest_text_after_logo (user, opts)
   ""
  end

```

with corresponding stuff in digest (e.g., `@after_logo = digest_text_after_logo`) and in the template (e.g., `@after_logo` after the logo before the following table).

I think the places to add stuff include

- in the header after the logo
- before “Popular topics”
- perhap before “New for you”
- before the footer/unsubscribe links.

All that to say

1. Do I understand correctly what would need to be done?
2. would this be a welcome PR?
3. Would someone who knows the answer to (1) like to submit the PR?

---

_[View the full topic](https://meta.discourse.org/t/plugin-outlets-for-summary-emails/103959)._
