try to get it to work with rails 4 action mailer