<%= render Components::PublicActivity::Snippet.new(activity, owner_component: Components::IdentityMention.new(activity.owner)) do %>
  <% if begin; activity.trackable && policy(activity.trackable).manage_collaborators?; rescue; false; end %>
    removed <strong><%= activity.parameters[:removed_email] || activity.parameters["removed_email"] %></strong>.
  <% else %>
    removed a collaborator.
  <% end %>
<% end %>
