```ruby
module MailerHelper
  def delete_account_url_for(user)
    delete_confirmation_user_url host: organic_domain_for(user), token: user.delete_account_token
  end

  private

  def organic_domain_for(user)
    Mumukit::Platform.laboratory.organic_domain(user.last_organization)
  end
end
```

Fix url generation for mailer
user
```ruby
module MailerHelper
  def delete_account_url_for(user)
    @organization.url_for("/user/delete_confirmation?token=#{user.delete_account_token}")
  end
end
```
assistant