configured the actionmailer like described in railsapp