```ruby
class OrganizationNotifier < ActionMailer::Base
  default from: "\"TimeOverflow\" <info@timeoverflow.org>"
  default to: "\"TimeOverflow\" <info@timeoverflow.org>"

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.organization_notifier.recent_posts.subject
  #
  def recent_posts(posts)
    # last 10 posts of offers and inquiries
    @offers = posts.where(type: "Offer").take(10)
    @inquiries = posts.where(type: "Inquiry").take(10)

    @organization_name = posts.take.organization.name

    mail(bcc: emails_newsletter(posts))
  end

  private

  def emails_newsletter(posts)
    posts.take.organization.users.online_active.actives.
      notifications.pluck(:email)
  end
end
```

Revert de algo que se ha colado del merge
user
```ruby
class OrganizationNotifier < ActionMailer::Base
  default from: "\"TimeOverflow\" <info@timeoverflow.org>"

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.organization_notifier.recent_posts.subject
  #
  def recent_posts(posts)
    # last 10 posts of offers and inquiries
    @offers = posts.where(type: "Offer").take(10)
    @inquiries = posts.where(type: "Inquiry").take(10)

    @organization_name = posts.take.organization.name

    mail(bcc: emails_newsletter(posts))
  end

  private

  def emails_newsletter(posts)
    posts.take.organization.users.online_active.actives.
      notifications.pluck(:email)
  end
end
```
assistant