preparing route for emailvalidation
rails generate mailer UserMailer
adapting user mailer
template from http://guides.rubyonrails.org/action_mailer_basics.html
plain text version
sending validation mail on user.save
configuring smtp