Hi @<%= @user.github %>,

<% if @write_docs.present? %>
## Write Docs

<% @write_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)

<% end %>
<% end %>


<% if @read_docs.present? %>

## Read Docs

<% @read_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)

<%= doc_method_click_url(doc.id, @user.id) %>
<%= doc_source_click_url(doc.id, @user.id) %>

<pre>
<%= doc.doc_comments.first.try(:comment) %>
</pre>

<% end %>
<% end %>

--

Go forth and make the world a better place

[@schneems](http://twitter.com/schneems)

[Help doctor more docs at docsdoctor.org](<%= root_url%>)

[Delete Account](<%= token_delete_user_url(@user.account_delete_token) %>)

Hi @<%= @user.github %>,

<% if @write_docs.present? %>
## Write Docs

<% @write_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)

<% end %>
<% end %>


<% if @read_docs.present? %>

## Read Docs

<% @read_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)

<%= doc_method_click_url(doc.id, @user.id) %>
<%= doc_source_click_url(doc.id, @user.id) %>

<pre>
<%= doc.doc_comments.first.try(:comment) %>
</pre>

<% end %>
<% end %>

--

Go forth and make the world a better place

[@schneems](http://twitter.com/schneems)

[Help doctor more docs at codetriage.com](<%= root_url%>)

[Delete Account](<%= token_delete_user_url(@user.account_delete_token) %>)

Remove reference to docsdoctor.org in docs email
Remove reference to docsdoctor.org in docs email
