modify 'email' recipe for Rails 4