<%# Some email clients (e.g. Yahoo as of 2017-01) remove the margin on

tags. Since the body itself always starts with a

, by wrapping the image here in a

as well, we ensure that they will at least always be aligned with each other. %>

<%= link_to( image_tag( attachments["avatar.png"].url, alt: @author, title: @author ), user_url(@author, :host => SERVER_URL), :target => "_blank" ) %>

<%= body %>