Hi <%= @contact.name %>,
You have new messages on your conversation.
<% @messages.each do |message| %>
<%= message.incoming? ? 'You' : message.user.name %>
|
<% if message.content %>
<%= message.content %>
<% end %>
<% if message.attachments %>
<% message.attachments.each do |attachment| %>
attachment [click here to view]
<% end %>
<% end %>
|
<% end %>