Edited views/snippets/index.html.erb with email method