developed email_spec.rb