<% provider = AuthProvider.from_strategy_name(@attached_object.provider) %> <%= render 'notifications_mailer/shared/hello', recipient: @recipient %> <% if provider.name == AuthProvider::SimpleAuthProvider.new.name %>

<%= t('.body.account_completed') %> <%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.

<% else %>

<%= t('.body.imported_account_completed', PROVIDER: provider.name) %> <%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.

<% end %> <% if @attached_object.uid %>

<%= t('.body.provider_id', UID: @attached_object.uid) %>

<% end %>